Skip to content
Snippets Groups Projects
Commit b13a0658 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: autopush to S3 buildcache

parent d9ec8f7e
Branches
Tags
1 merge request!957feat: autopush to S3 buildcache
...@@ -155,8 +155,7 @@ spack concretize --fresh --force ...@@ -155,8 +155,7 @@ spack concretize --fresh --force
make --jobs ${jobs} --keep-going --directory /opt/spack-environment \ make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \ SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_OCI_PROMPT="eicweb" \ BUILDCACHE_OCI_PROMPT="eicweb" \
BUILDCACHE_OCI_FINAL="ghcr" \ BUILDCACHE_OCI_FINAL="ghcr"
BUILDCACHE_S3_FINAL="eics3rw"
spack find --implicit --no-groups \ spack find --implicit --no-groups \
| sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \ | sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \
| uniq -d | grep -v py-pip | grep -v py-cython \ | uniq -d | grep -v py-pip | grep -v py-cython \
...@@ -207,8 +206,7 @@ fi ...@@ -207,8 +206,7 @@ fi
spack concretize --fresh --force spack concretize --fresh --force
make --jobs ${jobs} --keep-going --directory /opt/spack-environment \ make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \ SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_OCI_FINAL="eicweb" \ BUILDCACHE_OCI_FINAL="eicweb"
BUILDCACHE_S3_FINAL="eics3rw"
spack find --implicit --no-groups \ spack find --implicit --no-groups \
| sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \ | sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \
| uniq -d | grep -v py-pip | grep -v py-cython \ | uniq -d | grep -v py-pip | grep -v py-cython \
......
...@@ -14,6 +14,7 @@ mirrors: ...@@ -14,6 +14,7 @@ mirrors:
- ${GITHUB_REGISTRY_USER} - ${GITHUB_REGISTRY_USER}
- ${GITHUB_REGISTRY_TOKEN} - ${GITHUB_REGISTRY_TOKEN}
eics3rw: eics3rw:
autopush: true
signed: false signed: false
fetch: fetch:
url: s3://eictest/EPIC/spack/${SPACK_VERSION} url: s3://eictest/EPIC/spack/${SPACK_VERSION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment