From 6009c28c3098612f178dc2d0515e626e6471935c Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 25 Apr 2024 17:09:38 +0200 Subject: [PATCH 1/4] ci: do not run k8s-1.26 tests for release-v3.11 and devel The k8s-external-storage/1.26 CI job does not work with the versions that are part of the release-v3.11 and devel branches. Signed-off-by: Niels de Vos --- .github/workflows/pull-request-commentor.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull-request-commentor.yaml b/.github/workflows/pull-request-commentor.yaml index 09089baea..28479f121 100644 --- a/.github/workflows/pull-request-commentor.yaml +++ b/.github/workflows/pull-request-commentor.yaml @@ -22,6 +22,8 @@ jobs: k8s: ["1.26", "1.27", "1.28", "1.29"] exclude: # the next Ceph-CSI version will not be tested with old Kubernetes + - k8s: "1.26" + branch: "release-v3.11" - k8s: "1.26" branch: "devel" From c558588bd89451803cab0d55c2b695ee83c38696 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 25 Apr 2024 17:12:40 +0200 Subject: [PATCH 2/4] ci: trigger k8s-1.30 jobs for current Ceph-CSI versions Run CI jobs with Kubernetes 1.30 for the devel branch and upcoming releases. Signed-off-by: Niels de Vos --- .github/workflows/pull-request-commentor.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-commentor.yaml b/.github/workflows/pull-request-commentor.yaml index 28479f121..5c13cab33 100644 --- a/.github/workflows/pull-request-commentor.yaml +++ b/.github/workflows/pull-request-commentor.yaml @@ -19,7 +19,7 @@ jobs: strategy: matrix: branch: [release-v3.10, release-v3.11, devel] - k8s: ["1.26", "1.27", "1.28", "1.29"] + k8s: ["1.26", "1.27", "1.28", "1.29", "1.30"] exclude: # the next Ceph-CSI version will not be tested with old Kubernetes - k8s: "1.26" @@ -27,9 +27,15 @@ jobs: - k8s: "1.26" branch: "devel" + # Ceph-CSI <= 3.11 was released before Kubernetes 1.30 + - k8s: "1.30" + branch: "release-v3.11" + # Ceph-CSI <= 3.10 was released before Kubernetes 1.29 - k8s: "1.29" branch: "release-v3.10" + - k8s: "1.30" + branch: "release-v3.10" # watch out, matrix.branch can not be used in this if-statement :-/ if: > From 3d3c0aae6caa9eac3579d04b95cd00fe4b44e10d Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 26 Apr 2024 09:29:23 +0200 Subject: [PATCH 3/4] ci: do not require k8s-1.26 jobs for release-v3.11 Signed-off-by: Niels de Vos --- .mergify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index d4689ce66..a94f70b50 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -48,6 +48,25 @@ queue_rules: - "status-success=ci/centos/mini-e2e/k8s-1.29" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" + - and: + - base=release-v3.11 + - "status-success=codespell" + - "status-success=multi-arch-build" + - "status-success=go-test" + - "status-success=golangci-lint" + - "status-success=mod-check" + - "status-success=lint-extras" + - "status-success=ci/centos/k8s-e2e-external-storage/1.27" + - "status-success=ci/centos/k8s-e2e-external-storage/1.28" + - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.27" + - "status-success=ci/centos/mini-e2e/k8s-1.28" + - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/upgrade-tests-cephfs" + - "status-success=ci/centos/upgrade-tests-rbd" - and: - base=release-v3.10 - "status-success=codespell" From 53579991eb2e4ef76126335d2cd8a771698f1012 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 26 Apr 2024 09:36:06 +0200 Subject: [PATCH 4/4] ci: require k8s-1.30 CI jobs for release-v3.11 and devel branches Signed-off-by: Niels de Vos --- .mergify.yml | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index a94f70b50..199d511c9 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -34,37 +34,18 @@ queue_rules: - "status-success=golangci-lint" - "status-success=mod-check" - "status-success=lint-extras" - - "status-success=ci/centos/k8s-e2e-external-storage/1.26" - - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - - "status-success=ci/centos/k8s-e2e-external-storage/1.29" - - "status-success=ci/centos/mini-e2e-helm/k8s-1.26" - - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" - - "status-success=ci/centos/mini-e2e/k8s-1.26" - - "status-success=ci/centos/mini-e2e/k8s-1.27" - - "status-success=ci/centos/mini-e2e/k8s-1.28" - - "status-success=ci/centos/mini-e2e/k8s-1.29" - - "status-success=ci/centos/upgrade-tests-cephfs" - - "status-success=ci/centos/upgrade-tests-rbd" - - and: - - base=release-v3.11 - - "status-success=codespell" - - "status-success=multi-arch-build" - - "status-success=go-test" - - "status-success=golangci-lint" - - "status-success=mod-check" - - "status-success=lint-extras" - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/k8s-e2e-external-storage/1.30" - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.30" - "status-success=ci/centos/mini-e2e/k8s-1.27" - "status-success=ci/centos/mini-e2e/k8s-1.28" - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.30" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" - and: @@ -97,12 +78,15 @@ queue_rules: - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/k8s-e2e-external-storage/1.30" - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.30" - "status-success=ci/centos/mini-e2e/k8s-1.27" - "status-success=ci/centos/mini-e2e/k8s-1.28" - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.30" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" - and: @@ -164,12 +148,15 @@ pull_request_rules: - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/k8s-e2e-external-storage/1.30" - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.30" - "status-success=ci/centos/mini-e2e/k8s-1.27" - "status-success=ci/centos/mini-e2e/k8s-1.28" - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.30" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" - "status-success=DCO" @@ -206,12 +193,15 @@ pull_request_rules: - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/k8s-e2e-external-storage/1.30" - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.30" - "status-success=ci/centos/mini-e2e/k8s-1.27" - "status-success=ci/centos/mini-e2e/k8s-1.28" - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.30" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" - and: @@ -257,12 +247,15 @@ pull_request_rules: - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/k8s-e2e-external-storage/1.30" - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.30" - "status-success=ci/centos/mini-e2e/k8s-1.27" - "status-success=ci/centos/mini-e2e/k8s-1.28" - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.30" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" - "status-success=DCO" @@ -290,12 +283,15 @@ pull_request_rules: - "status-success=ci/centos/k8s-e2e-external-storage/1.27" - "status-success=ci/centos/k8s-e2e-external-storage/1.28" - "status-success=ci/centos/k8s-e2e-external-storage/1.29" + - "status-success=ci/centos/k8s-e2e-external-storage/1.30" - "status-success=ci/centos/mini-e2e-helm/k8s-1.27" - "status-success=ci/centos/mini-e2e-helm/k8s-1.28" - "status-success=ci/centos/mini-e2e-helm/k8s-1.29" + - "status-success=ci/centos/mini-e2e-helm/k8s-1.30" - "status-success=ci/centos/mini-e2e/k8s-1.27" - "status-success=ci/centos/mini-e2e/k8s-1.28" - "status-success=ci/centos/mini-e2e/k8s-1.29" + - "status-success=ci/centos/mini-e2e/k8s-1.30" - "status-success=ci/centos/upgrade-tests-cephfs" - "status-success=ci/centos/upgrade-tests-rbd" - "status-success=DCO"