-
Notifications
You must be signed in to change notification settings - Fork 430
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
Bump CAPI to v1.8.5 #5255
Bump CAPI to v1.8.5 #5255
Conversation
Skipping CI for Draft Pull Request. |
/cherry-pick release-1.17 |
@mboersma: once the present PR merges, I will cherry-pick it on top of In 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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5255 +/- ##
=======================================
Coverage 52.78% 52.78%
=======================================
Files 270 270
Lines 29057 29057
=======================================
Hits 15337 15337
Misses 12928 12928
Partials 792 792 ☔ View full report in Codecov by Sentry. |
go.mod
Outdated
@@ -222,6 +222,6 @@ require ( | |||
sigs.k8s.io/yaml v1.4.0 // indirect | |||
) | |||
|
|||
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.8.4 | |||
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.8.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this replace just be removed since it matches the version in the go.mod?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, apparently it can. :-) I've just been updating this line robotically and forgotten why we added it in the first place, but it doesn't seem that it's needed to pin it now: make modules
doesn't change dependencies if I remove it.
Thanks for noticing this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember asking this same question like 2 years ago and found it was necessary but can't remember exactly why. I'll try to track down a discussion but I vaguely remember something failing in e2e without this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vaguely remember now... Thanks for the research @nojnhuh!
Let's see how it fares in CI. I'll restore that line if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks for the context! Interestingly enough, it looks like CAPI never did add that or if they did, it's not in the current go.mod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would make sense CAPI doesn't do this since their main module doesn't import their test module. Though it looks like CAPA recently got rid of this, so maybe we should be ok to remove it too? kubernetes-sigs/cluster-api-provider-aws#5061
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried checking out the 1.6 branch of CAPZ and building without the replace
and things seem to work fine. Maybe a Go change enabled this? It doesn't seem like CAPI has fundamentally changed things since then.
a4cd815
to
9802f19
Compare
/test pull-cluster-api-provider-azure-apiversion-upgrade |
I think the |
/retest |
This is passing all tests, PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
@@ -222,6 +222,4 @@ require ( | |||
sigs.k8s.io/yaml v1.4.0 // indirect | |||
) | |||
|
|||
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.8.4 | |||
|
|||
replace github.com/google/cel-go => github.com/google/cel-go v0.17.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should throw a party when we can get rid of the last replace.
LGTM label has been added. Git tree hash: e94ebfcfb6117137dede39fb3967018b9cb57bb1
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nojnhuh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@mboersma: #5255 failed to apply on top of branch "release-1.17":
In 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. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Updates CAPI to v1.8.5. Also bumps cert-manager and fixes the pre-commit hook
shellcheck
configuration to match the Makefile.Which issue(s) this PR fixes:
N/A, but see #5186 for prior art.
Special notes for your reviewer:
TODOs:
Release note: