Skip to content

Commit 97367ec

Browse files
nixpanicmergify[bot]
authored andcommitted
ci: exclude the ci/centos branch from unrelated status checks
The ci/centos branch does not need to run e2e testing. Mergify does check those jobs for success (or the `ci/skip/e2e` label), which really isn't needed. Signed-off-by: Niels de Vos <ndevos@ibm.com>
1 parent 9ca3fa1 commit 97367ec

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.mergify.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ queue_rules:
2626
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
2727
- "status-success=DCO"
2828
- or:
29-
# requirements for non ci/centos branches
3029
- and:
30+
# requirements for non ci/centos branches
3131
- base!=ci/centos
3232
- "status-success=codespell"
3333
- "status-success=go-test"
@@ -40,14 +40,14 @@ queue_rules:
4040
# dependabot has an invalid signed-off-by
4141
- author=dependabot[bot]
4242
- "status-success=commitlint"
43-
# requirements for ci/centos branch
44-
- and:
45-
- base=ci/centos
46-
- "status-success=ci/centos/job-validation"
47-
- "status-success=ci/centos/jjb-validate"
43+
# exclude the ci/centos branch from above status checks
44+
- base=ci/centos
4845
- or:
4946
# requirenents per branch
50-
- label=ci/skip/e2e
47+
- and:
48+
# ci/skip/e2e label has no meaning on ci/centos
49+
- base!=ci/centos
50+
- label=ci/skip/e2e
5151
- and:
5252
- base~=^(release-.+)$
5353
- "status-success=ci/centos/k8s-e2e-external-storage/1.32"
@@ -87,6 +87,11 @@ queue_rules:
8787
- "status-success=ci/centos/mini-e2e/k8s-1.35"
8888
- "status-success=ci/centos/upgrade-tests-cephfs"
8989
- "status-success=ci/centos/upgrade-tests-rbd"
90+
- and:
91+
# requirements for ci/centos branch
92+
- base=ci/centos
93+
- "status-success=ci/centos/job-validation"
94+
- "status-success=ci/centos/jjb-validate"
9095

9196
merge_queue:
9297
max_parallel_checks: 1

0 commit comments

Comments
 (0)