Skip to content

Commit d80bc70

Browse files
authored
gitlab: set cache and config dir in top-level file (#39829)
1 parent 81cfe39 commit d80bc70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
stages: [ "generate", "build", "publish" ]
22

3+
variables:
4+
SPACK_DISABLE_LOCAL_CONFIG: "1"
5+
SPACK_USER_CACHE_PATH: "${CI_PROJECT_DIR}/tmp/_user_cache/"
6+
37
default:
48
image: { "name": "ghcr.io/spack/e4s-ubuntu-18.04:v2021-10-18", "entrypoint": [""] }
59

@@ -65,8 +69,6 @@ default:
6569
.base-job:
6670
variables:
6771
SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}"
68-
SPACK_DISABLE_LOCAL_CONFIG: "1"
69-
SPACK_USER_CACHE_PATH: "${CI_PROJECT_DIR}/tmp/_user_cache/"
7072
rules:
7173
- if: $CI_COMMIT_REF_NAME == "develop"
7274
# Pipelines on develop only rebuild what is missing from the mirror

0 commit comments

Comments
 (0)