ROSA-745: fix branch-protection for three SREP repos#79902
Conversation
Replace stale ci.ext.devshift.net PR build required checks and align aws-vpce-operator with the main default branch. - managed-cluster-validating-webhooks: require Konflux on-pull-request - managed-cluster-config: require ci/prow/checklinks-pr and pr-check - aws-vpce-operator: protect main (not master) and require Konflux Co-authored-by: Cursor <cursoragent@cursor.com>
|
@MitaliBhalla: This pull request references ROSA-745 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the initiative to target the "5.0.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughThis PR updates Prow branch protection configurations across three OpenShift repositories: migrating aws-vpce-operator to protect the main branch with Konflux checks, adding Konflux protection to managed-cluster-validating-webhooks, and expanding validation contexts in managed-cluster-config to include link checking. ChangesBranch Protection Configuration Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MitaliBhalla The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
|
@MitaliBhalla: 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. |
Summary
First in a series of ROSA-745 branch-protection updates (docs).
ci/prow/checklinks-prandci/prow/pr-checkonmaster(explicit prow gates for dep auto-merge).main(default branch; wasmaster) and require Konfluxaws-vpce-operator-on-pull-request.Complements DPP work on repo settings (auto-merge, merge commits). Does not require enterprise-contract, pr-group, e2e, or pko Konflux jobs.
Test plan
periodic-branch-protector-openshift-orgreconciles branch protection (~6h).lgtm+approvedwhen required checks are green.Related
Made with Cursor
Summary by CodeRabbit
This PR updates branch protection configuration for three OpenShift repositories to enforce required CI checks:
aws-vpce-operator: Shifted branch protection from the legacy
masterbranch to the current defaultmainbranch, adding a requirement for the Konfluxaws-vpce-operator-on-pull-requestcheck to pass on pull requests.managed-cluster-config: Expanded the required status checks on the
masterbranch to include bothci/prow/checklinks-prandci/prow/pr-check, enabling dependency auto-merge workflows (via tide) when all checks pass and the PR is approved.managed-cluster-validating-webhooks: Replaced a placeholder branch protection configuration with an explicit rule requiring the Konflux
managed-cluster-validating-webhooks-on-pull-requestcheck on themasterbranch.These changes align branch protection policies with the repositories' current CI pipelines and support automated dependency management for the SREP infrastructure.