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

Pre checkout

parent c404b61a
No related branches found
No related tags found
No related merge requests found
Pipeline #194463 failed
......@@ -18,8 +18,7 @@ workflow:
variables:
TERM: ansi
# ------------------------------------------------------------------------------
.parallel_job:
.parallel_definition:
image: registry.c4science.ch/scitas-stack/rhel:9.3
parallel:
matrix:
......@@ -35,6 +34,12 @@ variables:
tags:
- ${environment}
- stack
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
.parallel_job:
extends:
- .parallel_definition
variables:
COMMAND_OPTIONS_SBATCH: ${slurm_options}
STACK_CONFIG: ${CI_PROJECT_DIR}/stacks/${stack}/config.json
......@@ -55,15 +60,27 @@ variables:
- stacks/${stack}/compiler_definitions.yaml
# ------------------------------------------------------------------------------
spack:setup:
# ------------------------------------------------------------------------------
spack:checkout:
stage: environment
extends:
- .spack_cache
- .parallel_job
- .parallel_definition
before_script:
- git config --global --add --bool advice.detachedHead false
script:
- ls
timeout: 1h
spack:setup:
stage: environment
extends:
- .spack_cache
- .parallel_job
script:
- ci/setup_spack.sh
needs:
- job: spack:checkout
spack:install_compilers:
stage: compilers
......@@ -80,7 +97,6 @@ spack:install_compilers:
artifacts:
reports:
junit: spack-install.xml
needs:
- job: spack:setup
timeout: 5h
......
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