mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: remove the rules for backport on unsupported versions
CSI version v3.3.0 and above are the supported versions now and this patch also adjust the mergify rules according to that, ie the backport rules are removed for all unsupported versions here. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
4a3b1181ce
commit
92e7f16654
158
.mergify.yml
158
.mergify.yml
@ -89,164 +89,6 @@ pull_request_rules:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release v1.2.0 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
- label=backport-to-release-v1.2.0
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v1.2.0
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v1.2.0
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v1.2.0
|
||||
- label!=DNM
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "#approved-reviews-by>=1"
|
||||
actions:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v2.0 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
- label=backport-to-release-v2.0
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v2.0
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v2.0
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v2.0
|
||||
- label!=DNM
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "#approved-reviews-by>=2"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
||||
actions:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v2.1 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
- label=backport-to-release-v2.1
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v2.1
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v2.1
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v2.1
|
||||
- label!=DNM
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "#approved-reviews-by>=2"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
||||
actions:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v3.0 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
- label=backport-to-release-v3.0
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v3.0
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v3.0
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v3.0
|
||||
- label!=DNM
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "#approved-reviews-by>=2"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
||||
actions:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v3.1 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
- label=backport-to-release-v3.1
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v3.1
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v3.1
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v3.1
|
||||
- label!=DNM
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "#approved-reviews-by>=2"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
||||
- "status-success=multi-arch-build"
|
||||
- "status-success=commitlint"
|
||||
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
||||
- "status-success=ci/centos/mini-e2e-helm/k8s-1.21"
|
||||
- "status-success=ci/centos/mini-e2e-helm/k8s-1.22"
|
||||
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
||||
- "status-success=ci/centos/mini-e2e/k8s-1.21"
|
||||
- "status-success=ci/centos/mini-e2e/k8s-1.22"
|
||||
- "status-success=ci/centos/upgrade-tests-cephfs"
|
||||
- "status-success=ci/centos/upgrade-tests-rbd"
|
||||
- "status-success=DCO"
|
||||
actions:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v3.2 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
- label=backport-to-release-v3.2
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v3.2
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v3.2
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v3.2
|
||||
- label!=DNM
|
||||
- "#approved-reviews-by>=2"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-contributors"
|
||||
- "approved-reviews-by=@ceph/ceph-csi-maintainers"
|
||||
- "status-success=codespell"
|
||||
- "status-success=multi-arch-build"
|
||||
- "status-success=go-test"
|
||||
- "status-success=golangci-lint"
|
||||
- "status-success=gosec"
|
||||
- "status-success=commitlint"
|
||||
- "status-success=mod-check"
|
||||
- "status-success=lint-extras"
|
||||
- "#changes-requested-reviews-by=0"
|
||||
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
||||
- "status-success=ci/centos/mini-e2e-helm/k8s-1.21"
|
||||
- "status-success=ci/centos/mini-e2e-helm/k8s-1.22"
|
||||
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
||||
- "status-success=ci/centos/mini-e2e/k8s-1.21"
|
||||
- "status-success=ci/centos/mini-e2e/k8s-1.22"
|
||||
- "status-success=ci/centos/upgrade-tests-cephfs"
|
||||
- "status-success=ci/centos/upgrade-tests-rbd"
|
||||
- "status-success=DCO"
|
||||
actions:
|
||||
merge: {}
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v3.3 branch
|
||||
conditions:
|
||||
- base=devel
|
||||
|
Loading…
Reference in New Issue
Block a user