-
Notifications
You must be signed in to change notification settings - Fork 525
Use x.y.0
versions of the Go Toolchain only
#9564
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
/lgtm |
LGTM label has been added. Git tree hash: 39e78191d8bdf4ad2993f8a67e7fc4a56e6e5ea9
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke 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 |
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'm curious about two alternatives:
- If we only specify the minor go version in
go.mod
we would instruct go to use a compatible toolchain version, so that CI images will need to be on the same minor version but patch version differences won't matter. - If we specify
GOTOOLCHAIN=auto
or something likeGOTOOLCHAIN=go1.22.0
in CI jobs, go will automatically use the right toolchain version.
There have been some issues with that like for dependabot (ref). Afaik,
We are setting the |
/cherry-pick release-v1.91 |
/cherry-pick release-v1.92 |
@oliver-goetz: #9564 failed to apply on top of branch "release-v1.91":
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. |
@oliver-goetz: new pull request created: #9568 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. |
…of the Go Toolchain only (#9569) * Use Go Toolchain `1.22.0` * Update renovate config
* Bump github.com/gardener/gardener from 1.92.0 to 1.93.0 Bumps [github.com/gardener/gardener](https://github.com/gardener/gardener) from 1.92.0 to 1.93.0. - [Release notes](https://github.com/gardener/gardener/releases) - [Commits](gardener/gardener@v1.92.0...v1.93.0) --- updated-dependencies: - dependency-name: github.com/gardener/gardener dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Use `x.y.0` versions of the Go Toolchain only Similar to gardener/gardener#9564 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dimitar Kostadinov <dimitar.kostadinov@sap.com>
How to categorize this PR?
/area dev-productivity
/kind enhancement
What this PR does / why we need it:
There were several cases where tests in pipelines failed because not every test images had the most recent patch level of golang.
In these cases logs similar to the line above could be found.
Relevant issue we would like to have fixed are usually in
golang
itself and not in its toolchain, so this PR pins it to1.22.0
and disables patch updates for thego
directive ingo.mod
.golang
images are still updated.Other projects like kubernetes and controller-runtime are using the same approach.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: