Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
go
fork with a new branch containing our patches. Create a new branchcockroach-go$GO_VERSION
and take note of the commit ID.build/teamcity/internal/release/build-and-publish-patched-go/commit.txt
with the commit ID in thego
fork.build/teamcity/internal/release/build-and-publish-patched-go/impl.sh
with the newGOVERS
and adjust SHA256 sums as necessary.GO_FIPS_COMMIT
for the FIPS Go toolchain (source).Internal / Cockroach / Build / Toolchains / Publish Patched Go for Mac
build configuration in TeamCity with your latest version of the script above. Note the job depends on another jobBuild and Publish Patched Go
. That job prints out the SHA256 of all tarballs, which you will need to copy-paste intoWORKSPACE
(see below).Publish Patched Go for Mac
is an extra step that publishes the signedgo
binaries for macOS. That job also prints out the SHA256 of the Mac tarballs in particular.--@io_bazel_rules_go//go/toolchain:sdk_version
in .bazelrc.WORKSPACE
undergo_download_sdk
. You may need to bump rules_go. Also edit the filenames listed insdks
and update all the hashes to match what you built in the step above.WORKSPACE
undergo_download_sdk
for the FIPS version of Go (go_sdk_fips
)../dev generate bazel
to refreshdistdir_files.bzl
, thenbazel fetch @distdir//:archives
to ensure you've updated all hashes to the correct value.go.mod
.bootstrap-debian.sh
(source).golang:<old_version>
andgo<old_version>
).Epic: CRDB-41921
Release note (build change): Upgrade to Go 1.23.6