ROSAENG-0000 | ci: block major version bumps#159
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amandahla The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Walkthrough
ChangesRenovate Config – Block Major Terraform Module Bumps
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Iam and secrets-manager major versions added a breaking change so we are pinning versions until we migrate from modules to raw resources like in HCP Signed-off-by: Amanda H. L. de Andrade Katz <amanda.katz@redhat.com>
dbf6f23 to
189d43d
Compare
|
/override ci/prow/rosa-classic-public |
|
@amandahla: Overrode contexts on behalf of amandahla: ci/prow/rosa-classic-private-with-autoscaler-unmanaged-oidc-byo-vpc, ci/prow/rosa-classic-public 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. |
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
PR Summary
Adds a Renovate rule to block major version bumps for
terraform-aws-modules/iam/awsandterraform-aws-modules/secrets-manager/aws, preventing Renovate from proposing breaking upgrades until those modules are replaced with raw resources.Detailed Description of the Issue
Recent major releases of the
iamandsecrets-managercommunity Terraform modules introduced breaking changes. Until this module migrates from those community modules to raw AWS resources (as already done in ROSA HCP), major version bumps must be suppressed to avoid unintendedbreakage for consumers.
Related Issues and PRs
#Type of Change
Previous Behavior
Renovate could open PRs proposing major version upgrades for
terraform-aws-modules/iam/awsandterraform-aws-modules/secrets-manager/aws, which could introduce breaking changes for module consumers.Behavior After This Change
Renovate will skip major version bumps for
terraform-aws-modules/iam/awsandterraform-aws-modules/secrets-manager/aws. Minor and patch updates remain enabled. No change to module behavior at plan/apply time.How to Test (Step-by-Step)
Preconditions
N/A — CI configuration change only.
Test Steps
packageRuleentry inrenovate.jsontargetsmatchPackageNamesfor both modules and setsmatchUpdateTypes: ["major"]with"enabled": false.Expected Results
Renovate does not open PRs for major upgrades of
terraform-aws-modules/iam/awsorterraform-aws-modules/secrets-manager/aws.Proof of the Fix
Breaking Changes
Breaking Change Details / Migration Plan
Developer Verification Checklist
[JIRA-TICKET] | [TYPE]: <MESSAGE>.make pre-push-checkspasses (or each step:verify,verify-gen,lint,unit-tests,license-check,docs-lint).make terraform-docs).Summary by CodeRabbit