diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-09-06 08:16:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 08:16:35 +0200 |
commit | d80bc7048159045df36da46da98fbe615efc5da5 (patch) | |
tree | 2453809f9eedd129d248ef72b38af3201afefa6e /share | |
parent | 81cfe39ae3322d4c6c7bdffcf5d6f48c1adf07e8 (diff) | |
download | spack-d80bc7048159045df36da46da98fbe615efc5da5.tar.gz spack-d80bc7048159045df36da46da98fbe615efc5da5.tar.bz2 spack-d80bc7048159045df36da46da98fbe615efc5da5.tar.xz spack-d80bc7048159045df36da46da98fbe615efc5da5.zip |
gitlab: set cache and config dir in top-level file (#39829)
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml index ec4f5ac98f..ff1ae645d9 100644 --- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml @@ -1,5 +1,9 @@ stages: [ "generate", "build", "publish" ] +variables: + SPACK_DISABLE_LOCAL_CONFIG: "1" + SPACK_USER_CACHE_PATH: "${CI_PROJECT_DIR}/tmp/_user_cache/" + default: image: { "name": "ghcr.io/spack/e4s-ubuntu-18.04:v2021-10-18", "entrypoint": [""] } @@ -65,8 +69,6 @@ default: .base-job: variables: SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}" - SPACK_DISABLE_LOCAL_CONFIG: "1" - SPACK_USER_CACHE_PATH: "${CI_PROJECT_DIR}/tmp/_user_cache/" rules: - if: $CI_COMMIT_REF_NAME == "develop" # Pipelines on develop only rebuild what is missing from the mirror |