Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document CIRRUS_CLONE_DIR #847

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Document CIRRUS_CLONE_DIR #847

wants to merge 1 commit into from

Conversation

fkorotkov
Copy link
Contributor

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

@@ -422,10 +422,11 @@ And some environment variables can be set to control behavior of the Cirrus CI A
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