Commit 0cbc24dd authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: more complete and homegeneous rules

This parallels what's been done in omnibus-heptapod, except
that we still allow manual triggering.

The simplest case remains to make a MR for tests expected
to pass on the latest testing Heptapod Docker image.
parent f3708f7b85cb
Pipeline #11805 passed with stage
in 32 minutes and 5 seconds
......@@ -17,9 +17,12 @@ flake8:
.rules:test-heptapod:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "cross_project_pipeline"'
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE =~ /.*/'
- if: '$CI_PIPELINE_SOURCE != "push"'
# post MR landing or direct push on main branches
- if: '$CI_COMMIT_BRANCH == "branch/default"'
- if: '$CI_COMMIT_BRANCH == "branch/stable"'
# still manually triggerable on direct pushes (topics),
- if: '$CI_PIPELINE_SOURCE == "push"'
when: manual
.docker-remote:
......@@ -37,10 +40,6 @@ flake8:
- apt-get -y install tox openssh-client
- pip install --user hg-evolve>=9.3.1
- ci/run-tests
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE =~ "/.*"'
when: manual
docker-inside:
stage: test-heptapod
......
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