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

build: update bazel builder build docs #109324

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

rail
Copy link
Member

@rail rail commented Aug 23, 2023

Previously, the documentation described a manual build of the bazelbuilder docker image. The current approach is to use CI to build the image.

This PR updates the documentation to reflect the current process, including the FIPS image steps.

Epic: none
Release note: None

Previously, the documentation described a manual build of the
`bazelbuilder` docker image. The current approach is to use CI to build
the image.

This PR updates the documentation to reflect the current process,
including the FIPS image steps.

Epic: none
Release note: None
@rail rail added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-dev-inf A-ci Continuous Integration labels Aug 23, 2023
@rail rail requested a review from rickystewart August 23, 2023 11:02
@rail rail requested a review from a team as a code owner August 23, 2023 11:02
@rail rail self-assigned this Aug 23, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

```
- Then, update `build/.bazelbuilderversion` with the new tag and commit all your changes.
- Build the image by triggering the `Build and Push Bazel Builder Image` build in TeamCity. The generated image will be published to https://hub.docker.com/r/cockroachdb/bazel.
- Update `build/.bazelbuilderversion` with the new tag and commit all your changes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the remote exec change there is actually an extra step: build/toolchains/BUILD.bazel needs to be updated. Specifically we have to put the hashes for the amd64 builder image and the hashes for the arm64 builder image that need to go into the relevant platform() stanza.

You can update this now, or merge as-is and I can update the documentation further.

Also see #108722

@rail
Copy link
Member Author

rail commented Aug 23, 2023

I'll merge it as is for now :)
bors r=rickystewart

@craig
Copy link
Contributor

craig bot commented Aug 23, 2023

This PR was included in a batch that was canceled, it will be automatically retried

@craig
Copy link
Contributor

craig bot commented Aug 23, 2023

Build succeeded:

@craig craig bot merged commit 44f66d4 into cockroachdb:master Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Continuous Integration C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-dev-inf
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants