Skip to content
Snippets Groups Projects

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

Merged Wouter Deconinck requested to merge wdconinc-master-patch-10697 into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -20,6 +20,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM}
@@ -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
rm -f /etc/apt/apt.conf.d/docker-clean
apt-get -yqq update
apt-get -yqq update
apt-get -yqq install --no-install-recommends \
apt-get -yqq install --no-install-recommends \
 
jq \
python3 \
python3 \
python3-dev \
python3-dev \
python3-distutils \
python3-distutils \
@@ -137,6 +138,8 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
@@ -137,6 +138,8 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
set -e
set -e
export CCACHE_DIR=/ccache
export CCACHE_DIR=/ccache
find /var/cache/spack/blobs/sha256/ -atime +7 -delete
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 buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV}
spack env activate --dir ${SPACK_ENV}
spack add juggler@git.${JUGGLER_VERSION}
spack add juggler@git.${JUGGLER_VERSION}
Loading