KEMBAR78
feat: update bazel central registry publish workflow (#23465) by zhangskz · Pull Request #23913 · protocolbuffers/protobuf · GitHub
Skip to content

Conversation

@zhangskz
Copy link
Member

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
Copy link
Member Author

@alexeagle FYI

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants