-
Notifications
You must be signed in to change notification settings - Fork 253
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
base: master
Are you sure you want to change the base?
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 tool
commands 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
Azure Pipelines successfully started running 2 pipeline(s). |
594cfde
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
594cfde
to
d0cef8f
Compare
https://github.com/Azure/azure-container-networking/actions/runs/16919035614/job/47940263622?pr=3912 |
Reason for Change:
Takes on intent from #3467 and rebases it with new changes, notably
make dockerfiles
which leveragesrenderkit
Additionally:
go tools -modfile=tools.go.mod controller-gen ...
make regenerate-crd
to matchmake dockerfiles
interaction with GH workflow*printf
usages - https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/printf#hdr-ExamplesIssue Fixed:
Requirements:
Notes: