-
Notifications
You must be signed in to change notification settings - Fork 1.4k
📖 Improve Go bump instructions #12246
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
base: main
Are you sure you want to change the base?
Conversation
/assign @fabriziopandini |
@@ -168,6 +168,11 @@ The goal of this task is to ensure we are always using the latest Go version for | |||
|
|||
Note: If the Go minor version of one of our supported branches goes out of supported, we should consider bumping | |||
to a newer Go minor version according to our [backport policy](./../../../../CONTRIBUTING.md#backporting-a-patch). | |||
Usually this is done after k/k bumps the Go version in their release branches. For example: | |||
* Cluster API v1.10 uses Kubernetes v1.32: https://github.com/kubernetes-sigs/cluster-api/blob/v1.10.0/go.mod | |||
* Kubernetes v1.32 uses Go 1.23.8: https://github.com/kubernetes/test-infra/blob/1a5662a/images/kubekins-e2e-v2/variants.yaml#L19 |
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.
May be
* Kubernetes v1.32 uses Go 1.23.8: https://github.com/kubernetes/test-infra/blob/1a5662a/images/kubekins-e2e-v2/variants.yaml#L19 | |
* Kubernetes v1.32 branch bumps to Go 1.23.8 for any reason (and a coresponding kubekins image is available in https://github.com/kubernetes/test-infra/blob/1a5662a/images/kubekins-e2e-v2/variants.yaml#L19) |
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 used half the suggestion. Adding "branch bumps" seems confusing to me. The list is more a description on how to look up based from a Cluster API version. It's not a sequence of events starting from a Kubernetes Go bump (at least not at the moment)
@@ -168,6 +168,11 @@ The goal of this task is to ensure we are always using the latest Go version for | |||
|
|||
Note: If the Go minor version of one of our supported branches goes out of supported, we should consider bumping | |||
to a newer Go minor version according to our [backport policy](./../../../../CONTRIBUTING.md#backporting-a-patch). | |||
Usually this is done after k/k bumps the Go version in their release branches. For example: | |||
* Cluster API v1.10 uses Kubernetes v1.32: https://github.com/kubernetes-sigs/cluster-api/blob/v1.10.0/go.mod |
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.
May be
* Cluster API v1.10 uses Kubernetes v1.32: https://github.com/kubernetes-sigs/cluster-api/blob/v1.10.0/go.mod | |
* Cluster API v1.10 has Kubernetes v1.32 as a dependency, which originally was using Go 1.22: https://github.com/kubernetes-sigs/cluster-api/blob/v1.10.0/go.mod |
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.
Added the first half the suggestion. Not sure if the latter is helpful. Similar explanation as above.
The whole text here starts with "If the Go minor version of one of our supported branches goes out of support, we should consider bumping"
And this listing here is to explain how to lookup the right Go version we should use (I'll change the text above the listing)
Signed-off-by: Stefan Büringer buringerst@vmware.com
9a41b86
to
ce7fb12
Compare
Pushed a bit of a different version |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM label has been added. Git tree hash: ee110201b46b2e85a84b480420d9c64cbc099266
|
Signed-off-by: Stefan Büringer buringerst@vmware.com
What this PR does / why we need it:
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 #