Commit 9b9cfd35 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: run for MRs, but not for branch pushes

These don't bring much and are prone to fail or trigger the
cache corruption problem.

Only the post-landing case was somewhat interesting (but we didn't have
MR builds). We'll replace that by switching to the fast-forward merge
method: this only means that branch merges will have to be done in-topic.

--HG--
branch : heptapod-stable
parent 692fa7fd2028
Pipeline #31116 failed with stages
in 24 minutes and 30 seconds
......@@ -21,11 +21,9 @@ workflow:
# changeset creating or updating the tag.
- if: '$CI_COMMIT_TITLE =~ /^Added tag.*for changeset/ && $CI_PIPELINE_SOURCE == "push"'
when: never
# post MR landing or direct push
- if: '$CI_COMMIT_BRANCH == "branch/heptapod"'
- if: '$CI_COMMIT_BRANCH == "branch/heptapod-stable"'
# should be redundant with GitLab branch rules above, but better be explicit
- if: '$CI_COMMIT_TAG =~ /^heptapod-/'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
# should be redundant with rules above, but better be explicit
- if: '$CI_PIPELINE_SOURCE == "push"'
when: never
- when: always
......
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