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

Change of strategies

parent 76f92307
No related branches found
No related tags found
No related merge requests found
Pipeline #179053 failed
...@@ -36,13 +36,15 @@ variables: ...@@ -36,13 +36,15 @@ variables:
APPTAINER_EXEC_OPTIONS: ${apptainer_options} --bind ${BUILDCACHE}:/buildcache:rw --writable-tmpfs APPTAINER_EXEC_OPTIONS: ${apptainer_options} --bind ${BUILDCACHE}:/buildcache:rw --writable-tmpfs
.setup_spack: .setup_spack:
cache:
key: extra-repos-${environment}
paths:
- /stack/extra_repos
before_script: before_script:
- /opt/spack/bin/spack gpg trust $GPG_PRIVATE_KEY - /opt/spack/bin/spack gpg trust $GPG_PRIVATE_KEY
- mkdir -p /stack/extra_repos
- cd /stack/extra_repos
- git clone https://gitlab.epfl.ch/SCITAS/software-stack/spack-repo-externals.git
- git clone https://gitlab.epfl.ch/SCITAS/software-stack/scitas-spack-packages.git
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
spack:setup: spack:setup:
stage: environment stage: environment
...@@ -55,12 +57,6 @@ spack:setup: ...@@ -55,12 +57,6 @@ spack:setup:
/opt/spack/bin/spack gpg publish -d /buildcache /opt/spack/bin/spack gpg publish -d /buildcache
fi fi
- mkdir -p extra_repos
- cd extra_repos
- git clone https://gitlab.epfl.ch/SCITAS/software-stack/spack-repo-externals.git
- git clone https://gitlab.epfl.ch/SCITAS/software-stack/scitas-spack-packages.git
spack:concretize: spack:concretize:
stage: concretize stage: concretize
extends: extends:
......
repos: repos:
- extra_repos/spack-repo-externals - /stack/extra_repos/spack-repo-externals
- extra_repos/scitas-spack-packages - /stack/extra_repos/scitas-spack-packages
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