Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbd: refactor mirroring to work with volume and volumegroup #4720

Merged
merged 3 commits into from
Jul 26, 2024

rbd: refractor to use mirror interface

d19e47d
Select commit
Loading
Failed to load commit list.
Merged

rbd: refactor mirroring to work with volume and volumegroup #4720

rbd: refractor to use mirror interface
d19e47d
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Aug 5, 2024 in 0s

5 rules match and 15 potential rules

‼️ Action Required ‼️

The configuration uses the deprecated update_method attribute of the queue action in one or more pull_request_rules. It must now be used under the queue_rules configuration.
A brownout is planned on August 26th, 2024.
This option will be removed on September 23rd, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules

‼️ Action Required ‼️

The configuration uses the deprecated merge_method attribute of the queue action in one or more pull_request_rules. It must now be used under the queue_rules configuration.
A brownout is planned on August 26th, 2024.
This option will be removed on September 23rd, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules

‼️ Action Required ‼️

The configuration uses the deprecated allow_merging_configuration_change attribute of the queue action in one or more pull_request_rules. It must be removed from the configuration.
A brownout is planned on August 26th, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules

Rule: start CI jobs for PRs in the merge queue (label)

  • any of:
    • author=mergify[bot]
    • check-pending=Queue: Embarked in merge train
  • not:
    • all of:
      • status-success~=^ci/centos
  • base~=^(devel)|(release-.+)$
  • label!=conflicts
  • not:
    • all of:
      • check-pending~=^ci/centos

✅ Rule: remove outdated approvals (dismiss_reviews)

  • base~=^(devel)|(release-.+)$

Rule: ask to resolve conflict (comment)

  • conflict
  • author!=dependabot[bot]

✅ Rule: dismiss review of merged pull request (dismiss_reviews)

  • base~=^(devel)|(release-.+)$
  • merged

✅ Rule: automatic merge (delete_head_branch)

  • closed [📌 delete_head_branch requirement]
  • any of:
    • all of:
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-contributors
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • base=devel
      • label!=DNM
      • status-success=DCO
      • 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=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base~=^(release-.+)$
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-contributors
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • 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
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base=release-v3.10
      • status-success=ci/centos/k8s-e2e-external-storage/1.26
      • status-success=ci/centos/mini-e2e-helm/k8s-1.26
      • status-success=ci/centos/mini-e2e/k8s-1.26
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-contributors
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • status-success=ci/centos/k8s-e2e-external-storage/1.27
      • status-success=ci/centos/k8s-e2e-external-storage/1.28
      • 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/k8s-1.27
      • status-success=ci/centos/mini-e2e/k8s-1.28
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build

✅ Rule: automatic merge (queue)

  • -draft [📌 queue requirement]
  • any of:
    • all of:
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-contributors
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • base=devel
      • label!=DNM
      • status-success=DCO
      • 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=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base~=^(release-.+)$
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-contributors
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • 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
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base=release-v3.10
      • status-success=ci/centos/k8s-e2e-external-storage/1.26
      • status-success=ci/centos/mini-e2e-helm/k8s-1.26
      • status-success=ci/centos/mini-e2e/k8s-1.26
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-contributors
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • status-success=ci/centos/k8s-e2e-external-storage/1.27
      • status-success=ci/centos/k8s-e2e-external-storage/1.28
      • 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/k8s-1.27
      • status-success=ci/centos/mini-e2e/k8s-1.28
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by>=2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]

Rule: backport patches to release-v3.10 branch (backport)

  • label=backport-to-release-v3.10
  • base=devel
  • merged [📌 backport requirement]

Rule: backport patches to release-v3.11 branch (backport)

  • label=backport-to-release-v3.11
  • base=devel
  • merged [📌 backport requirement]

Rule: title contains DNM (label)

  • title~=DNM

Rule: title contains CephFS (label)

  • title~=cephfs:

Rule: title contains NFS (label)

  • title~=nfs:

✅ Rule: title contains RBD (label)

  • title~=rbd:

Rule: title contains CI, testing or e2e (label)

  • title~=(ci: )|(testing: )|(e2e)

Rule: title contains Helm (label)

  • title~=helm

Rule: title contains rebase (label)

  • title~=rebase:

Rule: title contains build (label)

  • title~=build:

Rule: title indicates a bug fix (label)

  • title~=(bug)|(fix)

Rule: title contains cleanup (label)

  • title~=cleanup:

Rule: title contains doc (label)

  • title~=doc:

Rule: title contains Mergify (label)

  • title~=(?i)mergify

💖  Mergify is proud to provide this service for free to open source projects.

🚀  You can help us by becoming a sponsor!


9 not applicable rules

Rule: update dependencies by dependabot (skip commitlint) (delete_head_branch)

  • author=dependabot[bot]
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • approved-reviews-by=@ceph/ceph-csi-contributors
  • approved-reviews-by=@ceph/ceph-csi-maintainers
  • base=devel
  • closed [📌 delete_head_branch requirement]
  • label!=DNM
  • status-success=DCO
  • 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=codespell
  • status-success=go-test
  • status-success=golangci-lint
  • status-success=lint-extras
  • status-success=mod-check
  • status-success=multi-arch-build

Rule: update dependencies by dependabot (skip commitlint) (queue)

  • author=dependabot[bot]
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • -draft [📌 queue requirement]
  • approved-reviews-by=@ceph/ceph-csi-contributors
  • approved-reviews-by=@ceph/ceph-csi-maintainers
  • base=devel
  • label!=DNM
  • status-success=DCO
  • 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=codespell
  • status-success=go-test
  • status-success=golangci-lint
  • status-success=lint-extras
  • status-success=mod-check
  • status-success=multi-arch-build
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by>=2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]

Rule: automatic merge PR having ready-to-merge label (delete_head_branch)

  • any of:
    • all of:
      • base~=^(release-.+)$
      • label=ready-to-merge
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • 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
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base=release-v3.10
      • label=ready-to-merge
      • status-success=ci/centos/k8s-e2e-external-storage/1.26
      • status-success=ci/centos/mini-e2e-helm/k8s-1.26
      • status-success=ci/centos/mini-e2e/k8s-1.26
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • status-success=ci/centos/k8s-e2e-external-storage/1.27
      • status-success=ci/centos/k8s-e2e-external-storage/1.28
      • 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/k8s-1.27
      • status-success=ci/centos/mini-e2e/k8s-1.28
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
  • closed [📌 delete_head_branch requirement]

Rule: automatic merge PR having ready-to-merge label (queue)

  • any of:
    • all of:
      • base~=^(release-.+)$
      • label=ready-to-merge
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • 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
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base=release-v3.10
      • label=ready-to-merge
      • status-success=ci/centos/k8s-e2e-external-storage/1.26
      • status-success=ci/centos/mini-e2e-helm/k8s-1.26
      • status-success=ci/centos/mini-e2e/k8s-1.26
      • #changes-requested-reviews-by=0
      • approved-reviews-by=@ceph/ceph-csi-maintainers
      • label!=DNM
      • status-success=DCO
      • status-success=ci/centos/k8s-e2e-external-storage/1.27
      • status-success=ci/centos/k8s-e2e-external-storage/1.28
      • 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/k8s-1.27
      • status-success=ci/centos/mini-e2e/k8s-1.28
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=commitlint
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
  • -draft [📌 queue requirement]
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by>=2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]

Rule: remove outdated approvals on ci/centos (dismiss_reviews)

  • base=ci/centos

Rule: automatic merge on ci/centos (delete_head_branch)

  • base=ci/centos
  • status-success=ci/centos/jjb-validate
  • status-success=ci/centos/job-validation
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • approved-reviews-by=@ceph/ceph-csi-contributors
  • approved-reviews-by=@ceph/ceph-csi-maintainers
  • closed [📌 delete_head_branch requirement]
  • label!=DNM
  • status-success=DCO

Rule: automatic merge on ci/centos (queue)

  • base=ci/centos
  • status-success=ci/centos/jjb-validate
  • status-success=ci/centos/job-validation
  • #approved-reviews-by>=2
  • #changes-requested-reviews-by=0
  • -draft [📌 queue requirement]
  • approved-reviews-by=@ceph/ceph-csi-contributors
  • approved-reviews-by=@ceph/ceph-csi-maintainers
  • label!=DNM
  • status-success=DCO
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by>=2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]

Rule: automatic merge PR having ready-to-merge label on ci/centos (delete_head_branch)

  • base=ci/centos
  • label=ready-to-merge
  • status-success=ci/centos/jjb-validate
  • status-success=ci/centos/job-validation
  • #changes-requested-reviews-by=0
  • approved-reviews-by=@ceph/ceph-csi-maintainers
  • closed [📌 delete_head_branch requirement]
  • label!=DNM
  • status-success=DCO

Rule: automatic merge PR having ready-to-merge label on ci/centos (queue)

  • base=ci/centos
  • label=ready-to-merge
  • status-success=ci/centos/jjb-validate
  • status-success=ci/centos/job-validation
  • #changes-requested-reviews-by=0
  • -draft [📌 queue requirement]
  • approved-reviews-by=@ceph/ceph-csi-maintainers
  • label!=DNM
  • status-success=DCO
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by>=2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]
Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com