Read about our upcoming Code of Conduct on this issue

Commit 52bc141e authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Defining Mercurial version in pipeline conf

This is just easier to check and modify
parent f71c54faba86
......@@ -33,7 +33,7 @@ hg-current:
extends:
- .docker
variables:
HG_VERSION: current
HG_VERSION: 5.7.1
.downstreams:
rules:
......
......@@ -68,8 +68,7 @@ elif [ "$HG_VERSION" = "default" ]; then
--single-snapshot \
--cleanup \
--destination $DESTINATION
elif [ "$HG_VERSION" = "current" ]; then
else # direct version number
DESTINATION=${CI_REGISTRY_IMAGE}/hg-current:${TAG}
echo "Building with kaniko, pushing to ${DESTINATION}"
......@@ -77,7 +76,7 @@ elif [ "$HG_VERSION" = "current" ]; then
/kaniko/executor --context $CI_PROJECT_DIR/context \
--dockerfile $CI_PROJECT_DIR/Dockerfile.released-hg \
--force \
--build-arg HG_VERSION=5.7.1 \
--build-arg HG_VERSION=$HG_VERSION \
--reproducible \
--build-arg PYDEPS_TAG=${PYDEPS_TAG} \
--destination $DESTINATION
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment