Skip to content
Snippets Groups Projects
Commit 1e38ac3a authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

feat: add test for presence of epic release in spack environment manifests

parent 5c6e8750
No related branches found
No related tags found
1 merge request!1055feat: add test for presence of epic release in spack environment manifests
Pipeline #108530 failed with stages
in 13 minutes and 7 seconds
......@@ -122,6 +122,10 @@ version:
elif [[ "$CI_COMMIT_TAG" =~ ^v[0-9.]+\.[0-9]+\.[0-9]+ ]]; then
VERSION="${CI_COMMIT_TAG:1}"
EXPORT_TAG="${VERSION}"
for ENV_FILE in spack-environment/xl/spack.yaml spack-environment/cuda/spack.yaml; do
grep -- "- epic@${VERSION}" "${ENV_FILE}" >/dev/null \
|| ( echo "Unable to locate epic release package for ${VERSION} in ${ENV_FILE}"; exit 1; )
done
elif [[ "$CI_COMMIT_BRANCH" =~ ^v[0-9.]+\.[0-9]+-\(alpha\|beta\|stable\) ]]; then
VERSION="${CI_COMMIT_BRANCH:1}"
EXPORT_TAG="${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