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

*: upgrade to go 1.19.1 #86049

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Commits on Sep 7, 2022

  1. *: upgrade to go 1.19.1

    * [ ] 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] Update `build/teamcity/internal/release/build-and-publish-patched-go/impl.sh` with the new version and adjust SHA256 sums as necessary.
    * [x] Run the `Internal / Release / Build and Publish Patched Go` build configuration in TeamCity with your latest version of the script above. This will print out the new URL's and SHA256 sums for the patched Go that you built above.
    * [x] Bump the version in `WORKSPACE` under `go_download_sdk`. You may need to bump [rules_go](https://github.com/bazelbuild/rules_go/releases). Also edit the filenames listed in `sdks` and update all the hashes to match what you built in the step above.
    * [x] Run `./dev generate bazel` to refresh `distdir_files.bzl`, then `bazel fetch @distdir//:archives` to ensure you've updated all hashes to the correct value.
    * [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.
    * [ ] 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)
    
    Closes cockroachdb#85908.
    
    Release justification: Upgrade to latest Go version
    Release note (build change): upgrade to go 1.19.1
    rickystewart committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    2675c7c View commit details
    Browse the repository at this point in the history