-
Notifications
You must be signed in to change notification settings - Fork 531
set GOTOOLCHAIN=auto so automatic verison selection can be used #4215
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
Conversation
cpanato
left a comment
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.
thanks
xmudrii
left a comment
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, cpanato, xmudrii 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 |
|
/hold cancel |
|
looks like an external flake (503 service unavailable from github.com) |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Ensures when the local desired go version is not aligned we will use that version instead of the version the image contains by default.
GOTOOLCHAIN=autois actually go's default (not the golang image, but the go binary installed locally from upstream)the upstream golang images set GOTOOLCHAIN=local non-default value so you get the version of the image you selected, but this means if e.g. go.mod desired a different version you won't get it (or the .go-version logic in kubernetes/kubernetes)
I don't think we want to drive the exact go version from the images versus in the code under test anywhere in the project, and auto still means the version in the image is the default unless a more specific version is required due to the version selection logic (e.g. you set go.mod to require a higher go version)
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
/hold