|
|
2aacef |
From cdfc360ed871f54faa6d10c0fe9cf4cd28061a28 Mon Sep 17 00:00:00 2001
|
|
|
2aacef |
From: Jan Macku <jamacku@redhat.com>
|
|
|
2aacef |
Date: Thu, 8 Dec 2022 15:42:41 +0100
|
|
|
2aacef |
Subject: [PATCH] ci(Mergify): v252 configuration update
|
|
|
2aacef |
|
|
|
2aacef |
rhel-only
|
|
|
2aacef |
|
|
|
2aacef |
Related: #2138081
|
|
|
2aacef |
---
|
|
|
2aacef |
.mergify.yml | 101 +++++++++++++++++++++++++++++++++++++++++++++------
|
|
|
2aacef |
1 file changed, 89 insertions(+), 12 deletions(-)
|
|
|
2aacef |
|
|
|
2aacef |
diff --git a/.mergify.yml b/.mergify.yml
|
|
|
2aacef |
index ddc79a1d7a..bc1743e8ea 100644
|
|
|
2aacef |
--- a/.mergify.yml
|
|
|
2aacef |
+++ b/.mergify.yml
|
|
|
2aacef |
@@ -2,23 +2,31 @@
|
|
|
2aacef |
---
|
|
|
2aacef |
|
|
|
2aacef |
pull_request_rules:
|
|
|
2aacef |
- - name: Add `needs-ci` label on CI fail
|
|
|
2aacef |
+ - name: Add `needs-ci` label on CI fail - v252
|
|
|
2aacef |
conditions:
|
|
|
2aacef |
+ # Policy is relevant for rhel-9.2.0 branches and newer & main branch
|
|
|
2aacef |
+ - base~=^main$|^rhel-9.([2-9]|\d{2,}).0$
|
|
|
2aacef |
- label!=ci-waived
|
|
|
2aacef |
- or:
|
|
|
2aacef |
# Build test
|
|
|
2aacef |
- - -check-success=build (gcc, 10, bfd)
|
|
|
2aacef |
- - -check-success=build (gcc, 11, gold)
|
|
|
2aacef |
- - -check-success=build (clang, 11, bfd)
|
|
|
2aacef |
- - -check-success=build (clang, 12, gold)
|
|
|
2aacef |
- - -check-success=build (clang, 13, lld)
|
|
|
2aacef |
+ - -check-success=build (gcc, 11, bfd, gcrypt)
|
|
|
2aacef |
+ - -check-success=build (gcc, 12, gold, openssl)
|
|
|
2aacef |
+ - -check-success=build (clang, 13, mold, gcrypt)
|
|
|
2aacef |
+ - -check-success=build (clang, 14, lld, openssl)
|
|
|
2aacef |
+ - -check-success=build (clang, 15, bfd, auto)
|
|
|
2aacef |
# Unit tests
|
|
|
2aacef |
- -check-success=build (GCC, auto)
|
|
|
2aacef |
- -check-success=build (GCC_ASAN_UBSAN, auto)
|
|
|
2aacef |
- -check-success=build (CLANG, auto)
|
|
|
2aacef |
+ - -check-success=build (CLANG_RELEASE, auto)
|
|
|
2aacef |
- -check-success=build (CLANG_ASAN_UBSAN, auto)
|
|
|
2aacef |
+ - -check-success=build (CLANG_ASAN_UBSAN_NO_DEPS, auto)
|
|
|
2aacef |
- -check-success=build (GCC, openssl)
|
|
|
2aacef |
- -check-success=build (CLANG, gcrypt)
|
|
|
2aacef |
+ # ClusterFuzzingLite
|
|
|
2aacef |
+ - -check-success=PR (address)
|
|
|
2aacef |
+ - -check-success=PR (undefined)
|
|
|
2aacef |
+ - -check-success=PR (memory)
|
|
|
2aacef |
# CentOS CI
|
|
|
2aacef |
- -check-success=CentOS CI (CentOS Stream 9)
|
|
|
2aacef |
- -check-success=CentOS CI (CentOS Stream 9 + sanitizers)
|
|
|
2aacef |
@@ -35,24 +43,62 @@ pull_request_rules:
|
|
|
2aacef |
add:
|
|
|
2aacef |
- needs-ci
|
|
|
2aacef |
|
|
|
2aacef |
- - name: Remove `needs-ci` label on CI success
|
|
|
2aacef |
+ - name: Add `needs-ci` label on CI fail - v250
|
|
|
2aacef |
conditions:
|
|
|
2aacef |
+ # Policy is relevant branches before rhel-9.2.0
|
|
|
2aacef |
+ - base~=^rhel-9.0.0-beta$|^rhel-9.[0-1].0$
|
|
|
2aacef |
+ - label!=ci-waived
|
|
|
2aacef |
+ - or:
|
|
|
2aacef |
+ # Build test
|
|
|
2aacef |
+ - -check-success=build (gcc, 10, bfd)
|
|
|
2aacef |
+ - -check-success=build (gcc, 11, gold)
|
|
|
2aacef |
+ - -check-success=build (clang, 11, bfd)
|
|
|
2aacef |
+ - -check-success=build (clang, 12, gold)
|
|
|
2aacef |
+ - -check-success=build (clang, 13, lld)
|
|
|
2aacef |
+ # Unit tests
|
|
|
2aacef |
+ - -check-success=build (GCC, auto)
|
|
|
2aacef |
+ - -check-success=build (GCC_ASAN_UBSAN, auto)
|
|
|
2aacef |
+ - -check-success=build (CLANG, auto)
|
|
|
2aacef |
+ - -check-success=build (CLANG_ASAN_UBSAN, auto)
|
|
|
2aacef |
+ - -check-success=build (GCC, openssl)
|
|
|
2aacef |
+ - -check-success=build (CLANG, gcrypt)
|
|
|
2aacef |
+ # CentOS CI
|
|
|
2aacef |
+ - -check-success=CentOS CI (CentOS Stream 9)
|
|
|
2aacef |
+ - -check-success=CentOS CI (CentOS Stream 9 + sanitizers)
|
|
|
2aacef |
+ # Packit
|
|
|
2aacef |
+ - -check-success=rpm-build:centos-stream-9-aarch64
|
|
|
2aacef |
+ - -check-success=rpm-build:centos-stream-9-x86_64
|
|
|
2aacef |
+ actions:
|
|
|
2aacef |
+ label:
|
|
|
2aacef |
+ add:
|
|
|
2aacef |
+ - needs-ci
|
|
|
2aacef |
+
|
|
|
2aacef |
+ - name: Remove `needs-ci` label on CI success - v252
|
|
|
2aacef |
+ conditions:
|
|
|
2aacef |
+ # Policy is relevant for rhel-9.2.0 branches and newer & main branch
|
|
|
2aacef |
+ - base~=^main$|^rhel-9.([2-9]|\d{2,}).0$
|
|
|
2aacef |
- or:
|
|
|
2aacef |
- label=ci-waived
|
|
|
2aacef |
- and:
|
|
|
2aacef |
# Build test
|
|
|
2aacef |
- - check-success=build (gcc, 10, bfd)
|
|
|
2aacef |
- - check-success=build (gcc, 11, gold)
|
|
|
2aacef |
- - check-success=build (clang, 11, bfd)
|
|
|
2aacef |
- - check-success=build (clang, 12, gold)
|
|
|
2aacef |
- - check-success=build (clang, 13, lld)
|
|
|
2aacef |
+ - check-success=build (gcc, 11, bfd, gcrypt)
|
|
|
2aacef |
+ - check-success=build (gcc, 12, gold, openssl)
|
|
|
2aacef |
+ - check-success=build (clang, 13, mold, gcrypt)
|
|
|
2aacef |
+ - check-success=build (clang, 14, lld, openssl)
|
|
|
2aacef |
+ - check-success=build (clang, 15, bfd, auto)
|
|
|
2aacef |
# Unit tests
|
|
|
2aacef |
- check-success=build (GCC, auto)
|
|
|
2aacef |
- check-success=build (GCC_ASAN_UBSAN, auto)
|
|
|
2aacef |
- check-success=build (CLANG, auto)
|
|
|
2aacef |
+ - check-success=build (CLANG_RELEASE, auto)
|
|
|
2aacef |
- check-success=build (CLANG_ASAN_UBSAN, auto)
|
|
|
2aacef |
+ - check-success=build (CLANG_ASAN_UBSAN_NO_DEPS, auto)
|
|
|
2aacef |
- check-success=build (GCC, openssl)
|
|
|
2aacef |
- check-success=build (CLANG, gcrypt)
|
|
|
2aacef |
+ # ClusterFuzzingLite
|
|
|
2aacef |
+ - check-success=PR (address)
|
|
|
2aacef |
+ - check-success=PR (undefined)
|
|
|
2aacef |
+ - check-success=PR (memory)
|
|
|
2aacef |
# CentOS CI
|
|
|
2aacef |
- check-success=CentOS CI (CentOS Stream 9)
|
|
|
2aacef |
- check-success=CentOS CI (CentOS Stream 9 + sanitizers)
|
|
|
2aacef |
@@ -68,3 +114,34 @@ pull_request_rules:
|
|
|
2aacef |
label:
|
|
|
2aacef |
remove:
|
|
|
2aacef |
- needs-ci
|
|
|
2aacef |
+
|
|
|
2aacef |
+ - name: Remove `needs-ci` label on CI success - v250
|
|
|
2aacef |
+ conditions:
|
|
|
2aacef |
+ # Policy is relevant branches before rhel-9.2.0
|
|
|
2aacef |
+ - base~=^rhel-9.0.0-beta$|^rhel-9.[0-1].0$
|
|
|
2aacef |
+ - or:
|
|
|
2aacef |
+ - label=ci-waived
|
|
|
2aacef |
+ - and:
|
|
|
2aacef |
+ # Build test
|
|
|
2aacef |
+ - check-success=build (gcc, 10, bfd)
|
|
|
2aacef |
+ - check-success=build (gcc, 11, gold)
|
|
|
2aacef |
+ - check-success=build (clang, 11, bfd)
|
|
|
2aacef |
+ - check-success=build (clang, 12, gold)
|
|
|
2aacef |
+ - check-success=build (clang, 13, lld)
|
|
|
2aacef |
+ # Unit tests
|
|
|
2aacef |
+ - check-success=build (GCC, auto)
|
|
|
2aacef |
+ - check-success=build (GCC_ASAN_UBSAN, auto)
|
|
|
2aacef |
+ - check-success=build (CLANG, auto)
|
|
|
2aacef |
+ - check-success=build (CLANG_ASAN_UBSAN, auto)
|
|
|
2aacef |
+ - check-success=build (GCC, openssl)
|
|
|
2aacef |
+ - check-success=build (CLANG, gcrypt)
|
|
|
2aacef |
+ # CentOS CI
|
|
|
2aacef |
+ - check-success=CentOS CI (CentOS Stream 9)
|
|
|
2aacef |
+ - check-success=CentOS CI (CentOS Stream 9 + sanitizers)
|
|
|
2aacef |
+ # Packit
|
|
|
2aacef |
+ - check-success=rpm-build:centos-stream-9-aarch64
|
|
|
2aacef |
+ - check-success=rpm-build:centos-stream-9-x86_64
|
|
|
2aacef |
+ actions:
|
|
|
2aacef |
+ label:
|
|
|
2aacef |
+ remove:
|
|
|
2aacef |
+ - needs-ci
|