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
Cherry pick handle #120279 GOTOOLCHAIN in kube::golang::verify_go_version onto 1.26 #122077
Cherry pick handle #120279 GOTOOLCHAIN in kube::golang::verify_go_version onto 1.26 #122077
Conversation
for now: - shim FORCE_HOST_GO to GOTOOLCHAIN=local - treat GOTOOLCHAIN set and !=auto like FORCE_HOST_GO - otherwise set GOTOOLCHAIN=go${GO_VERSION} and fallback to gimme if necessary TODO: set toolchain statements in go.mod files and keep them in sync
/retest |
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.
For RelEng:
/lgtm
/approve
LGTM label has been added. Git tree hash: 72e53b036a948c1200a84719d4587de213fee935
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, xmudrii 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 |
Cherry pick of #120279 onto release-1.26.
#120279 handle GOTOOLCHAIN in kube::golang::verify_go_version
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
See #120279
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
We should cherry-pick this because it's required for controlling go versions properly with Go 1.21+ (at least for now, with Kubernetes's approach) and eventually we will want 1.21+ in release branches as 1.20 goes out of support.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig testing release
/triage accepted
/priority important-soon