Skip to content
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

✨ Bump to k8s.io/* v0.32.0-alpha.1 #2971

Merged

Conversation

sbueringer
Copy link
Member

Signed-off-by: Stefan Büringer buringerst@vmware.com

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 9, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 9, 2024
@sbueringer sbueringer force-pushed the pr-bump-v0.32.0-alpha.1 branch 5 times, most recently from 5ba1d56 to df22cbc Compare October 9, 2024 14:53
@sbueringer
Copy link
Member Author

I'll rebase once #2950 is merged

Otherwise the current PR should be ready

@@ -24,6 +24,8 @@ source ${hack_dir}/common.sh
tmp_root=/tmp
kb_root_dir=$tmp_root/kubebuilder

export GOTOOLCHAIN="go$(make go-version)"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alvaroaleman @vincepri WDYT about this one? Seems like this could make us independent of the go version built into the CI image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about this. What I don't fully understand is how this interacts with the go version in the go.mod file? It would be good if we didn't override anything specified in the go.mod file, otherwise our CI may not be reflective of what actual end users see.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm yeah this whole go toolchain feature is a bit complicated: https://go.dev/doc/toolchain

As far as I'm aware it doesn't overwrite what is in the go.mod file.

If I don't set this here and without changing the CI image we end up with this: https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_controller-runtime/2971/pull-controller-runtime-apidiff/1844073887495622656

/home/prow/go/src/sigs.k8s.io/controller-runtime/hack/tools/bin/go-apidiff-v0.8.2 4cae9df --print-compatible
failed to get packages from new commit "HEAD" (79c1f765939e53ddc94401070922c37d797bfef6): err: exit status 1: stderr: go: go.mod requires go >= 1.23.0 (running go 1.22.8; GOTOOLCHAIN=local)

But I can also just keep it simple and bump the CI image to one that uses Go 1.23

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is fine, seems simpler for us and worst case we can change it later on

@sbueringer sbueringer force-pushed the pr-bump-v0.32.0-alpha.1 branch 3 times, most recently from 78bf5be to 6253c7d Compare October 11, 2024 15:40
@sbueringer sbueringer changed the title [WIP] ✨ Bump to k8s.io/* v0.32.0-alpha.1 ✨ Bump to k8s.io/* v0.32.0-alpha.1 Oct 11, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 11, 2024
Signed-off-by: Stefan Büringer buringerst@vmware.com
@@ -24,6 +24,8 @@ source ${hack_dir}/common.sh
tmp_root=/tmp
kb_root_dir=$tmp_root/kubebuilder

export GOTOOLCHAIN="go$(make go-version)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is fine, seems simpler for us and worst case we can change it later on

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 14, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 3abaf1a827c74d450c5d56684dc5aebebd3ebbfb

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, sbueringer

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:
  • OWNERS [alvaroaleman,sbueringer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit aa78068 into kubernetes-sigs:main Oct 14, 2024
7 of 8 checks passed
@sbueringer sbueringer deleted the pr-bump-v0.32.0-alpha.1 branch October 15, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants