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

Need mirror config first

parent 8f60bba5
No related branches found
No related tags found
No related merge requests found
Pipeline #179376 failed
...@@ -91,6 +91,13 @@ spack:setup: ...@@ -91,6 +91,13 @@ spack:setup:
fi fi
done done
- mkdir -p /stack/spack/etc
- cp mirrors.yaml /stack/spack/etc
- cp repos.yaml /stack/spack/etc
- cp packages.yaml /stack/spack/etc
- 'echo "config: { install_tree: { root: /stack/spack/opt/spack } }" > /stack/spack/etc/config.yaml'
- | - |
if [ ! -d /buildcache/build_cache ]; then if [ ! -d /buildcache/build_cache ]; then
spack/bin/spack gpg publish -d /buildcache spack/bin/spack gpg publish -d /buildcache
...@@ -99,14 +106,6 @@ spack:setup: ...@@ -99,14 +106,6 @@ spack:setup:
- spack/bin/spack buildcache update-index /buildcache - spack/bin/spack buildcache update-index /buildcache
- spack/bin/spack buildcache list --allarch - spack/bin/spack buildcache list --allarch
- mkdir -p /stack/spack/etc
- cp mirrors.yaml /stack/spack/etc
- cp repos.yaml /stack/spack/etc
- cp packages.yaml /stack/spack/etc
- 'echo "config: { install_tree: { root: /stack/spack/opt/spack } }" > /stack/spack/etc/config.yaml'
......
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