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

feat: use eic-spack tag for reproducibility

parent 31a86e9a
No related branches found
No related tags found
1 merge request!581feat: use eic-spack tag for reproducibility
...@@ -9,6 +9,7 @@ variables: ...@@ -9,6 +9,7 @@ variables:
## Spack organization and repository, e.g. spack/spack ## Spack organization and repository, e.g. spack/spack
SPACK_ORGREPO: "spack/spack" SPACK_ORGREPO: "spack/spack"
## Spack github version, e.g. v0.18.1 or commit hash ## Spack github version, e.g. v0.18.1 or commit hash
## note: nightly builds will use e.g. releases/v0.19
SPACK_VERSION: "v0.19.2" SPACK_VERSION: "v0.19.2"
## Space-separated list of spack cherry-picks ## Space-separated list of spack cherry-picks
SPACK_CHERRYPICKS: > SPACK_CHERRYPICKS: >
...@@ -75,8 +76,9 @@ variables: ...@@ -75,8 +76,9 @@ variables:
## EIC spack organization and repository, e.g. eic/eic-spack ## EIC spack organization and repository, e.g. eic/eic-spack
EICSPACK_ORGREPO: "eic/eic-spack" EICSPACK_ORGREPO: "eic/eic-spack"
## EIC spack github version, e.g. v0.18 branch, v0.18.1 tag, or commit hash ## EIC spack github version, e.g. v0.19.7 or commit hash
EICSPACK_VERSION: "v0.19" ## note: nightly builds will use e.g. releases/v0.19
EICSPACK_VERSION: "v0.19.0"
## Space-separated list of eic-spack cherry-picks ## Space-separated list of eic-spack cherry-picks
EICSPACK_CHERRYPICKS: "f892e2b5d7ea9d1f2e43741499e899ce21dd3d5a" EICSPACK_CHERRYPICKS: "f892e2b5d7ea9d1f2e43741499e899ce21dd3d5a"
## Ref: https://github.com/eic/eic-spack/commit/[hash] ## Ref: https://github.com/eic/eic-spack/commit/[hash]
......
...@@ -26,7 +26,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM} ...@@ -26,7 +26,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM}
## Setup spack ## Setup spack
ENV SPACK_ROOT=/opt/spack ENV SPACK_ROOT=/opt/spack
ARG SPACK_ORGREPO="spack/spack" ARG SPACK_ORGREPO="spack/spack"
ARG SPACK_VERSION="develop" ARG SPACK_VERSION="releases/v0.19"
ARG SPACK_CHERRYPICKS="" ARG SPACK_CHERRYPICKS=""
ADD https://api.github.com/repos/${SPACK_ORGREPO}/commits/${SPACK_VERSION} /tmp/spack.json ADD https://api.github.com/repos/${SPACK_ORGREPO}/commits/${SPACK_VERSION} /tmp/spack.json
RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
......
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