-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
build: update go to 1.16.6 #67594
build: update go to 1.16.6 #67594
Conversation
* [ ] Adjust the Pebble tests to run in new version. * [x] Adjust version in Docker image ([source](./builder/Dockerfile)). * [x] Adjust version in the TeamCity agent image ([setup script](./packer/teamcity-agent.sh)) * [x] Rebuild and push the Docker image (following [Basic Process](#basic-process)) * [x] Bump the version in `WORKSPACE` under `go_register_toolchains`. You may need to bump [rules_go](https://github.com/bazelbuild/rules_go/releases). * [x] Bump the version in `builder.sh` accordingly ([source](./builder.sh#L6)). * [x] Bump the version in `go-version-check.sh` ([source](./go-version-check.sh)), unless bumping to a new patch release. * [x] Bump the go version in `go.mod`. You may also need to rerun `make vendor_rebuild` if vendoring has changed. * [x] Bump the default installed version of Go in `bootstrap-debian.sh` ([source](./bootstrap/bootstrap-debian.sh)). * [x] Replace other mentions of the older version of go (grep for `golang:<old_version>` and `go<old_version>`). * [ ] Update the `builder.dockerImage` parameter in the TeamCity [`Cockroach`](https://teamcity.cockroachdb.com/admin/editProject.html?projectId=Cockroach&tab=projectParams) and [`Internal`](https://teamcity.cockroachdb.com/admin/editProject.html?projectId=Internal&tab=projectParams) projects. * [ ] Ask the Developer Infrastructure team to deploy new TeamCity agent images according to [packer/README.md](./packer/README.md) Release note: None
bors r+ |
Build succeeded: |
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.
Reviewable status: complete! 0 of 0 LGTMs obtained
build/go-version-check.sh, line 10 at r1 (raw file):
required_version_major=1 minimum_version_minor=16 minimum_version_16_patch=6
does this need to happen on patch releases too? It prevents building on the previous patch releases without setting the IGNORE_GOVERS
env var, which is a little annoying when go 1.16.5 is still the stable version of the homebrew formula: https://formulae.brew.sh/formula/go
I have no strong opinion about this TBH. Maybe it's just safer to have at least the same version of go that we use in CI. |
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.
It looks like the above checklist indicates it shouldn't happen in patch releases:
Bump the version in go-version-check.sh (source), unless bumping to a new patch release
I think we should either not bump in go-version-check.sh on a patch release or wait to bump the version until at least the new go version is available via Homebrew.
Reviewable status: complete! 0 of 0 LGTMs obtained
In cockroachdb#67594 we switched to go 1.16.5, but it's not available via brew yet. Because we tend to use the brew version to build locally, it would be better to downgrade the requirements. Release note: None
I created #67620 |
67522: memsize: consolidate memory size constants r=mgartner a=mgartner Constants that describe the in-memory size of data types have been consolidated into a new package. Release note: None 67608: build: update TeamCity secondary go to 1.15.14 r=rail a=rail This updates the TeamCity agent go version to 1.15.14 Release note: None 67620: build: don't require latest go for local builds r=rail a=rail In #67594 we switched to go 1.16.5, but it's not available via brew yet. Because we tend to use the brew version to build locally, it would be better to downgrade the requirements. Release note: None Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Rail Aliiev <[email protected]>
In cockroachdb#67594 we switched to go 1.16.5, but it's not available via brew yet. Because we tend to use the brew version to build locally, it would be better to downgrade the requirements. Release note: None
WORKSPACE
undergo_register_toolchains
. You may need to bump rules_go.builder.sh
accordingly (source).go-version-check.sh
(source), unless bumping to a new patch release.go.mod
. You may also need to rerunmake vendor_rebuild
if vendoring has changed.bootstrap-debian.sh
(source).golang:<old_version>
andgo<old_version>
).builder.dockerImage
parameter in the TeamCityCockroach
andInternal
projects.Release note: None