Skip to content
Snippets Groups Projects
Commit c569b1776e01 authored by Georges Racinet's avatar Georges Racinet
Browse files

CI/CD: restoring hg-default and hg-stable jobs

Now that we support the current stable versions of Mercurial and Evolve,
we can do it.
parent 759d3aca66ff
No related branches found
No related tags found
1 merge request!80Supporting and requiring hg-evolve 11
Pipeline #65062 passed
...@@ -57,8 +57,40 @@ ...@@ -57,8 +57,40 @@
stage: main stage: main
image: ${BASE_IMAGES_MERCURIAL}/hg-current:${BASE_IMAGES_TAG} image: ${BASE_IMAGES_MERCURIAL}/hg-current:${BASE_IMAGES_TAG}
# stable, default and hg-git-default removed until we decide to support
# hg-evolve 11.0. Check `hg annotate` on the present line for easy revert tests-hg-stable:
extends:
- .tests-no-lint
rules:
# only the hg-git compat job is relevant for pipeline triggered
# by upstream hg-git pipelines
- <<: *unless-hg-git-triggered
- when: on_success # for expliciteness
stage: compat
image: ${BASE_IMAGES_MERCURIAL}/hg-stable:${BASE_IMAGES_TAG}
tests-hg-default:
extends:
- .tests-no-lint
- .only_py_heptapod_default
allow_failure: true
stage: compat
image: ${BASE_IMAGES_MERCURIAL}/hg-default:${BASE_IMAGES_TAG}
tests-hg-git-default:
rules:
- if: '$CI_COMMIT_HG_BRANCH == "default"'
# upstream hg-git can in theory trigger for any branch of py-heptapod
- if: '$HG_GIT_TRIGGERING_SHA'
- when: never
allow_failure: true
variables:
HEPTAPOD_CI_HG_GIT_UPDATE: "true"
HEPTAPOD_CI_HG_GIT_REVISION: $HG_GIT_TRIGGERING_SHA
extends:
- .tests-no-lint
stage: compat
image: ${BASE_IMAGES_MERCURIAL}/hg-stable:${BASE_IMAGES_TAG}
hgitaly: hgitaly:
rules: rules:
......
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