-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Upgrade to Go 1.17, controller-runtime v0.11.x, k8s.io v1.23.0-alpha.4 #5633
🌱 Upgrade to Go 1.17, controller-runtime v0.11.x, k8s.io v1.23.0-alpha.4 #5633
Conversation
007b38e
to
fce7a94
Compare
@@ -68,7 +68,7 @@ type ClusterCacheTracker struct { | |||
type ClusterCacheTrackerOptions struct { | |||
// Log is the logger used throughout the lifecycle of caches. | |||
// Defaults to a no-op logger if it's not set. | |||
Log logr.Logger | |||
Log *logr.Logger |
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.
Note: logr.Logger is now a struct not an interface. I made it a pointer to be able to check if the option is set.
I think there is simply no way to keep the API stable when go-logr changes the Logger interface to a struct (from v0.4=>v1.x)
ad148f8
to
f53b1e6
Compare
/hold
I've tested the following locally with Go v1.17.x make lint
make test |
Signed-off-by: Stefan Büringer buringerst@vmware.com
Signed-off-by: Stefan Büringer buringerst@vmware.com
f53b1e6
to
3876438
Compare
/assign @fabriziopandini @vincepri |
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.
/approve
/lgtm
/hold cancel
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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 |
/retest |
/retest Another try |
I'll take a look |
Signed-off-by: Stefan Büringer buringerst@vmware.com
Signed-off-by: Stefan Büringer buringerst@vmware.com
Signed-off-by: Stefan Büringer buringerst@vmware.com
3876438
to
3b4953a
Compare
/test pull-cluster-api-e2e-full-main |
@@ -17,7 +17,7 @@ jobs: | |||
- name: Set up Go 1.x | |||
uses: actions/setup-go@v2 | |||
with: | |||
go-version: '1.16' | |||
go-version: '1.17' |
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.
Q: are we still using dependant or can we drop this file entirely (not blocking for this PR)
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.
Afaik it's currently not running. I can drop it in a follow-up PR when we have consensus to drop it.
(/cc @randomvariable )
@sbueringer: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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/test-infra repository. I understand the commands that are listed here. |
full-e2e tests are essentially also green, the failed one will be fixed in #5625 (review) and is independent of this PR |
/test pull-cluster-api-e2e-full-main |
/lgtm |
Signed-off-by: Stefan Büringer buringerst@vmware.com
What this PR does / why we need it:
This PR upgrades to the latest version of controller-runtime which:
Depends on: kubernetes/test-infra#24314
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #