gitlab: set cache and config dir in top-level file (#39829)
This commit is contained in:
parent
81cfe39ae3
commit
d80bc70481
@ -1,5 +1,9 @@
|
|||||||
stages: [ "generate", "build", "publish" ]
|
stages: [ "generate", "build", "publish" ]
|
||||||
|
|
||||||
|
variables:
|
||||||
|
SPACK_DISABLE_LOCAL_CONFIG: "1"
|
||||||
|
SPACK_USER_CACHE_PATH: "${CI_PROJECT_DIR}/tmp/_user_cache/"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
image: { "name": "ghcr.io/spack/e4s-ubuntu-18.04:v2021-10-18", "entrypoint": [""] }
|
image: { "name": "ghcr.io/spack/e4s-ubuntu-18.04:v2021-10-18", "entrypoint": [""] }
|
||||||
|
|
||||||
@ -65,8 +69,6 @@ default:
|
|||||||
.base-job:
|
.base-job:
|
||||||
variables:
|
variables:
|
||||||
SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}"
|
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:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == "develop"
|
- if: $CI_COMMIT_REF_NAME == "develop"
|
||||||
# Pipelines on develop only rebuild what is missing from the mirror
|
# Pipelines on develop only rebuild what is missing from the mirror
|
||||||
|
Loading…
Reference in New Issue
Block a user