Skip to content

Conversation

fkorotkov
Copy link
Contributor

Draft of how $CIRRUS_CLONE_DIR and $CIRRUS_WORKING_DIR are set after cirruslabs/cirrus-ci-agent#131

Name | Default Value | Description
--- | --- | ---
CIRRUS_CLONE_DEPTH | `0` which will reflect in a full clone of a single branch | Clone depth.
CIRRUS_CLONE_DIR | Defaults to `$CIRRUS_WORKING_DIR` if not empty and doesn't contain `$CIRRUS_CLONE_DIR` itself. Othervise `CIRRUS_CLONE_DIR` is set to `cirrus-ci-build` folder inside of a system's temporary folder | Directory to put repository sources into.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs new definition to be introduced across the documentation (e.g. a scratch directory) to simplify the explanation.

Otherwise the reader needs to keep the track of all these cross-references between CIRRUS_CLONE_DIR and CIRRUS_WORKING_DIR in their memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants