-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Use GO_VERSION as single source for the used Go version #10163
Conversation
test-docs-please |
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.
awesome improvement, unfortunately we will still miss these:
.travis.yml
cilium-docker-plugin.Dockerfile
cilium-operator.Dockerfile
Dockerfile.builder
contrib/packaging/builder/Dockerfile.runtime
As far as I understand the Lines 454 to 461 in b4cd2bc
|
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.
wow, nice @tklauser ! thanks
test-upstream-k8s |
test-me-please |
Commit f28ebad8234c0b01d93c878d5948c4bb93ed5b05 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/contributing/#developer-s-certificate-of-origin |
…etup This avoids having to bump the Go version in the docs manually and also allows to get rid of the Go version check in Documentation/Makefile. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This will allow to easily bump the version via a Makefile target introduced in a successive commit. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Read the Go version from the GO_VERSION file and use it to replace the hard-coded versions in the test scripts. Together with the preceding commits, this allows to bump the Go version in a single place: the GO_VERSION file. Updating to a new Go version (1.13.8 in this example) is now as easy as: echo 1.13.8 > GO_VERSION && make update-golang Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
f28ebad
to
91dc217
Compare
test-me-please |
1 similar comment
test-me-please |
Read the Go version from the
GO_VERSION
file and use it to replace the hard-coded versions across the Cilium repo, i.e. in the test scripts, Dockerfiles, packaging and documentation.This allows to bump the Go version in a single place: the
GO_VERSION
file.With this PR, updating to a new Go version (1.13.8 in this example) is now as easy as:
Verified by running the command above and checking that
git grep 1\.13\.7
doesn't return any matches.Follow up for #10139, as suggested by @florianl
This change is