diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54e8c78c..1f342721 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,9 @@ # We define the following GitLab pipeline variables: variables: ##### LC GITLAB CONFIGURATION +# Keep Proteus clones out of the default ~/.jacamar-ci/builds, which other +# projects' CI jobs share and clean up. + CUSTOM_CI_BUILDS_DIR: "/usr/workspace/fink12/gitlab-runner-proteus" # Tells Gitlab to recursively update the submodules when cloning the project. # GIT_SUBMODULE_STRATEGY: recursive diff --git a/.gitlab/custom-jobs-and-variables.yml b/.gitlab/custom-jobs-and-variables.yml index f1af44fd..22d59b59 100644 --- a/.gitlab/custom-jobs-and-variables.yml +++ b/.gitlab/custom-jobs-and-variables.yml @@ -86,9 +86,10 @@ variables: variables: JOB_TEMPLATE_CANNOT_BE_EMPTY: "True" +# Remove only this job's clone; CI_BUILDS_DIR is shared with concurrent jobs. .remove-builds-dir: after_script: - - rm -rf ${CI_BUILDS_DIR} + - rm -rf ${CI_PROJECT_DIR} .clean-flux-allocation: after_script: