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

Need to add mirror first

parent b395be9b
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,11 @@ echo "Setting up buildcache" ...@@ -46,6 +46,11 @@ echo "Setting up buildcache"
spack/bin/spack gpg trust \ spack/bin/spack gpg trust \
$GPG_PRIVATE_KEY $GPG_PRIVATE_KEY
spack/bin/spack mirror add \
--type binary \
--scope system \
buildcache file:///buildcache
if [ ! -d /buildcache/build_cache ]; then if [ ! -d /buildcache/build_cache ]; then
spack/bin/spack gpg publish \ spack/bin/spack gpg publish \
-d /buildcache -d /buildcache
...@@ -56,8 +61,3 @@ spack/bin/spack buildcache keys \ ...@@ -56,8 +61,3 @@ spack/bin/spack buildcache keys \
--trust --trust
spack/bin/spack buildcache update-index /buildcache spack/bin/spack buildcache update-index /buildcache
spack/bin/spack mirror add \
--type binary \
--scope system \
buildcache file:///buildcache
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