-
Notifications
You must be signed in to change notification settings - Fork 259
chore: update to go1.24 #3912
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
chore: update to go1.24 #3912
Conversation
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.
Pull Request Overview
This PR upgrades the Go runtime from version 1.23 to 1.24.0 across the Azure Container Networking project. It consolidates tool management by moving from separate tool binaries to leveraging Go 1.24's built-in tool support and removes several obsolete toolbox components.
- Upgrades Go version from 1.23.x to 1.24.0 across all modules and Docker images
- Refactors tool management to use
go toolcommands instead of separate binary builds - Removes deprecated toolbox server and manifest files
Reviewed Changes
Copilot reviewed 46 out of 50 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod, zapai/go.mod, dropgz/go.mod, etc. | Update Go version to 1.24.0 and related dependency versions |
| tools.go.mod | Restructure from traditional require statements to Go 1.24's tool directive |
| Makefile, platform/Makefile, various CRD Makefiles | Replace tool binary paths with go tool commands |
| Dockerfiles | Update base Go images to 1.24 versions with new SHA digests |
| hack/toolbox/* | Remove deprecated toolbox server implementation and manifests |
| GitHub workflows | Update to use go-version-file instead of hardcoded versions |
2dff178 to
a507f8c
Compare
e769fca to
2fd7b43
Compare
b59c6c7 to
5d03f82
Compare
5d03f82 to
85987cd
Compare
|
/azp run NPM Scale Test, NPM Conformance Tests |
|
Azure Pipelines successfully started running 2 pipeline(s). |
* chore: update to go1.24 Signed-off-by: Evan Baker <rbtr@users.noreply.github.com> * chore: cleanup rebase * chore: regenerate crds * chore: address comments * chore: clean up go tool cover * chore: pre-review cleanup * revert: ipv6 image from azurelinux to base * chore: add back go-junit-report tool install * chore: clean up cni non-constant Errorf usage * chore: clean up cns non-constant Sprintf usage * chore: clean up npm non-constant Sprintf usage * chore: clean up test non-constant Errorf usage * chore: cleanup windows NPM * chore: generate bpf-lib(s) for block-iptables in signed UTs * chore: cleanup rebase --------- Signed-off-by: Evan Baker <rbtr@users.noreply.github.com> Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Reason for Change:
Takes on intent from #3467 and rebases it with new changes, notably
make dockerfileswhich leveragesrenderkitAdditionally:
go tools -modfile=tools.go.mod controller-gen ...make regenerate-crdto matchmake dockerfilesinteraction with GH workflow*printfusages - https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/printf#hdr-ExamplesIssue Fixed:
Requirements:
Notes: