Skip to content
Snippets Groups Projects

Resolve "Tweak singularity container deploy"

Merged Sylvester Joosten requested to merge 63-tweak-singularity-container-deploy into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -94,12 +94,13 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \
@@ -94,12 +94,13 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \
&& spack clean -a
&& spack clean -a
## Update the local build cache if needed. Consists of 3 steps:
## Update the local build cache if needed. Consists of 3 steps:
## 1. Remove the B010 network buildcache
## 1. Remove the B010 network buildcache (silicon)
## 2. Get a list of all packages, and compare with what is already on
## 2. Get a list of all packages, and compare with what is already on
## the buildcache (using package hash)
## the buildcache (using package hash)
## 3. Add packages that need to be added to buildcache if any
## 3. Add packages that need to be added to buildcache if any
RUN --mount=type=cache,target=/var/cache/spack-mirror \
RUN --mount=type=cache,target=/var/cache/spack-mirror \
spack buildcache list --allarch --long \
spack mirror remove silicon \
 
&& spack buildcache list --allarch --long \
| grep -v -e '---' \
| grep -v -e '---' \
| sed "s/@.\+//" \
| sed "s/@.\+//" \
| sort > tmp.buildcache.txt \
| sort > tmp.buildcache.txt \
Loading