Require GH Actions checks, remove redundant Prow tests for velero + plugin forks#81959
Conversation
Merges today are gated only by tide label requirements, not by any CI job actually passing. Add required_status_checks.contexts so GitHub Actions and Prow-native checks must be green before merge. Fixes openshift/velero#552 Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
WalkthroughBranch-protection configurations for Velero and three plugin forks now require specified CI status checks. OADP CI configurations remove redundant Prow unit-test and lint jobs and retain generated metadata and resource settings. ChangesVelero CI alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
velero and its 3 plugin forks (aws/gcp/microsoft-azure) run duplicate CI: Prow-native unit-test/lint targets alongside upstream-aligned GitHub Actions checks (Run CI, Run Linter Check) that are now required via required_status_checks. Remove the redundant Prow-native tests and drop ci/prow/lint from velero's required_status_checks (context no longer exists). Fixes openshift/velero#552 Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/cc @openshift/team-openshift-oadp |
|
@kaovilai: GitHub didn't allow me to request PR reviews from the following users: openshift/team-openshift-oadp. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
weshayutin
left a comment
There was a problem hiding this comment.
/LGTM
THANK YOU @kaovilai!!
|
@kaovilai: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@kaovilai: Updated the following 2 configmaps:
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…lugin forks (openshift#81959) * Add required_status_checks to velero + plugin fork branch protection Merges today are gated only by tide label requirements, not by any CI job actually passing. Add required_status_checks.contexts so GitHub Actions and Prow-native checks must be green before merge. Fixes openshift/velero#552 Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com> * Remove redundant unit-test/lint from velero + plugin forks velero and its 3 plugin forks (aws/gcp/microsoft-azure) run duplicate CI: Prow-native unit-test/lint targets alongside upstream-aligned GitHub Actions checks (Run CI, Run Linter Check) that are now required via required_status_checks. Remove the redundant Prow-native tests and drop ci/prow/lint from velero's required_status_checks (context no longer exists). Fixes openshift/velero#552 Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com> --------- Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Summary
Adds
required_status_checks.contextsto the branch-protection config foropenshift/veleroand its three plugin forks (velero-plugin-for-aws,velero-plugin-for-gcp,velero-plugin-for-microsoft-azure), and removes the now-redundant Prow-nativeunit-test/lintCI configs that duplicate the GitHub Actions checks being made required.Today merges are gated only by tide's label requirements, not by any specific CI job passing — a PR can merge with failing GitHub Actions checks as long as labels are satisfied.
openshift/velero: requireci/prow/images,Run CI,Run Linter CheckRun CIunit-test/lintci-operator test entries (velero: all branches; plugin forks: all branches) — these duplicated the now-requiredRun CI/Run Linter CheckGitHub Actions checksci/prow/lintfrom velero'srequired_status_checkssince that Prow context no longer exists after thelinttest removalFixes openshift/velero#552
Test plan
make check-core/make checkconfigpass in CIci/prow/unit-test/ci/prow/lintpresubmits are no longer required anywhereNote
Responses generated with Claude
Summary by CodeRabbit
openshift/velerodepend on required CI status checks (ci/prow/images,Run CI,Run Linter Check) in addition to Tide label requirements.openshift/velero-plugin-for-aws,openshift/velero-plugin-for-gcp, andopenshift/velero-plugin-for-microsoft-azureforks to require theRun CIstatus check.tests/Prow-native unit-test and lint job configuration from the CI/operator YAMLs for Velero and all three plugin forks (across OADP branches/versions anddev), including dropping the now-defunctci/prow/lintrequired context.