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