Skip to content
Snippets Groups Projects
Commit 1d2b5422 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Change CI cache

parent 207adb9b
No related branches found
No related tags found
No related merge requests found
Pipeline #194493 failed
......@@ -43,7 +43,7 @@ variables:
variables:
COMMAND_OPTIONS_SBATCH: ${slurm_options}
STACK_CONFIG: ${CI_PROJECT_DIR}/stacks/${stack}/config.json
STACK_LOCATION: $(jq -r .stack.mount_point ${STACK_CONFIG})
STACK_LOCATION: /stack
APPTAINER_EXEC_OPTIONS: ${apptainer_options} --bind ${BUILDCACHE}:/buildcache:rw --bind ${CI_PROJECT_DIR}:${STACK_LOCATION}
SPACK_USER_CACHE_PATH: "/tmp/spack_cache_${CI_JOB_ID}"
SPACK_USER_CONFIG_PATH: "/tmp/spack_user_${CI_JOB_ID}"
......@@ -54,17 +54,12 @@ variables:
cache:
key: ${environment}-spack-cache
policy: pull-push
paths:
- spack/
- stack/
- stacks/${stack}/compiler_definitions.yaml
untracked: true
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
spack:checkout:
stage: environment
stage: .pre
extends:
- .spack_cache
- .parallel_definition
before_script:
- git config --global --add --bool advice.detachedHead false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment