You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
It will be nice to support $CIRRUS_CLONE_DIR separate from $CIRRUS_WORKING_DIR
Context
Useful for better task syntax for monorepo projects (for example, when there are two folders frontend and backend in the same repo and each of then needs a separate task).
Anything Else
Ideally it should've been there from the beginning and then $CIRRUS_WORKING_DIR would've be equal to $CIRRUS_CLONE_DIR by default.
For backward compatibility though, we should default $CIRRUS_CLONE_DIR to $CIRRUS_WORKING_DIR. In this case this syntax won't be possible:
Note: to support first case though we can be a little smart and check that user didn't provide $CIRRUS_CLONE_DIR but used it for $CIRRUS_WORKING_DIR therefore it should be defaulted to /tmp/cirrus-ci-build. But IMHO it's smells like magic and we don't like magic.
The text was updated successfully, but these errors were encountered:
Description
It will be nice to support
$CIRRUS_CLONE_DIR
separate from$CIRRUS_WORKING_DIR
Context
Useful for better task syntax for monorepo projects (for example, when there are two folders
frontend
andbackend
in the same repo and each of then needs a separate task).Anything Else
Ideally it should've been there from the beginning and then
$CIRRUS_WORKING_DIR
would've be equal to$CIRRUS_CLONE_DIR
by default.For backward compatibility though, we should default
$CIRRUS_CLONE_DIR
to$CIRRUS_WORKING_DIR
. In this case this syntax won't be possible:because people will need explicitly specify
$CIRRUS_CLONE_DIR
:Note: to support first case though we can be a little smart and check that user didn't provide
$CIRRUS_CLONE_DIR
but used it for$CIRRUS_WORKING_DIR
therefore it should be defaulted to/tmp/cirrus-ci-build
. But IMHO it's smells like magic and we don't like magic.The text was updated successfully, but these errors were encountered: