Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: update bazel central registry publish workflow (#23465)#23913

Merged
zhangskz merged 1 commit into33.xfrom
cp-bcr-workflow
Oct 10, 2025
Merged

feat: update bazel central registry publish workflow (#23465)#23913
zhangskz merged 1 commit into33.xfrom
cp-bcr-workflow

Conversation

Copy link
Member

zhangskz commented Oct 10, 2025

Cherry-pick of 7051cc1

Includes pre-built protoc integrity hashes in the release artifact, in a new file bazel/private/prebuilt_tool_integrity.bzl

tested on my fork of protobuf: https://github.com/alexeagle/protobuf/releases/tag/v0.1000.10

Next steps:

  • create toolchain definitions that fetch the prebuilt protoc from github releases
  • change logic in Bazel setup to use the prebuilt toolchain when desired
  • create a token from @protobuf-team-bot account and add to GHA secrets so the pull request to BCR opens

Closes #23465

COPYBARA_INTEGRATE_REVIEW=#23465 from protocolbuffers:alexeagle/bazel-protoc-prebuilt 05314db PiperOrigin-RevId: 817227717

Includes pre-built protoc integrity hashes in the release artifact, in a new file `bazel/private/prebuilt_tool_integrity.bzl`

tested on my fork of protobuf: https://github.com/alexeagle/protobuf/releases/tag/v0.1000.10

Next steps:
- create toolchain definitions that fetch the prebuilt protoc from github releases
- change logic in Bazel setup to use the prebuilt toolchain when desired
- create a token from @protobuf-team-bot account and add to GHA secrets so the pull request to BCR opens

Closes #23465

COPYBARA_INTEGRATE_REVIEW=#23465 from protocolbuffers:alexeagle/bazel-protoc-prebuilt 05314db
PiperOrigin-RevId: 817227717
zhangskz requested a review from mkruskal-google October 10, 2025 15:36
Copy link
Member Author

zhangskz commented Oct 10, 2025

@alexeagle FYI

zhangskz enabled auto-merge (squash) October 10, 2025 19:12
mkruskal-google approved these changes Oct 10, 2025
zhangskz merged commit d5217fd into 33.x Oct 10, 2025
223 checks passed
zhangskz deleted the cp-bcr-workflow branch October 10, 2025 19:14
alexeagle mentioned this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

mkruskal-google mkruskal-google approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants