-
Notifications
You must be signed in to change notification settings - Fork 24
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 Porch to Go 1.22 #41
Upgrade Porch to Go 1.22 #41
Conversation
@liamfallon: The label(s) 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/test-infra repository. |
/assign @tliron @Catalin-Stratulat-Ericsson |
/assign @vjayaramrh |
/approve |
Replacing reflect.TypeOf() with reflect.TypeFor doesn't seem to be useful at the other four locations where reflect.TypeFor() occurs in the code base:
|
/recheck |
/retest |
The go tests need to be upgraded to Go 1.22, see nephio-project/test-infra#258 |
/retest |
Do we need to bump the gotest image in the .prow file to nephio/gotests:1782782171367346176 ? https://github.com/nephio-project/porch/blob/main/.prow.yaml#L7 |
/retest |
The toolchain has been updated for go 1.22 now, thanks to @radoslawc. This PR is ready for review. |
/approve |
Would it be a good idea to set a variable for the GO Version and then change the value for the version in one file? Looks like we would end up changing multiple files which may be error prone. Any thoughts? |
Yes, this is a good idea. There are also toolchain changes to make in test-infra, which @radoslawc did. I think it would be best this time to go ahead with these PRs and then write a separate issue to look at and implement automation of the go version change. At least now with this PR and Rado's PRs we know where the changes that need to be automated are. |
/lgtm |
Sounds good, Do you mind adding the issue link here so that this does not get lost prior to merging this issue, Thanks |
Hey @vjayaramrh , created this one - nephio-project/nephio#731 |
@efiacor Thanks, I think we are all set. |
/approve |
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 think we will have to bump the image version here also
https://github.com/nephio-project/porch/pull/41/files#diff-e48abb6eaacd63e53dd63fec4562daff0b7766146c230ceaa515ee087367e1f8L28
/approve |
@efiacor I'll raise a subsequent PR to add this if that's OK with you |
/approve |
closing for testing tide fix |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: efiacor, liamfallon 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 |
/lgtm |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes Issue 510.
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
no