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

fix: get sha/id from commit json to get latest commit

parent 20841019
No related branches found
No related tags found
1 merge request!802fix: get sha/id from commit json to get latest commit
......@@ -20,6 +20,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM}
rm -f /etc/apt/apt.conf.d/docker-clean
apt-get -yqq update
apt-get -yqq install --no-install-recommends \
jq \
python3 \
python3-dev \
python3-distutils \
......@@ -137,6 +138,8 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
set -e
export CCACHE_DIR=/ccache
find /var/cache/spack/blobs/sha256/ -atime +7 -delete
JUGGLER_VERSION=$(jq -r .id /tmp/juggler.json)
EICRECON_VERSION=$(jq -r .sha /tmp/eicrecon.json)
spack buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV}
spack add juggler@git.${JUGGLER_VERSION}
......
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