-
Notifications
You must be signed in to change notification settings - Fork 211
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
Add BCR configurations for publishing releases to the central registry #1038
Add BCR configurations for publishing releases to the central registry #1038
Conversation
Added code owners fixes to bring it inline with the maintainers list. |
Thanks! |
.bcr/presubmit.yml
Outdated
platform: ${{ platform }} | ||
build_flags: | ||
- "--enable_bzlmod=false" | ||
build_targets: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth noting that we don't actually check tests into the release binary of rules_kotlin
so there isn't much to run on the Bazel central registry presubmit side.
.github/workflows/release.yml
Outdated
tag: ${{ github.ref }} | ||
overwrite: true | ||
release: | ||
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes howe we cut releases in rules_kotlin
. The way to create releases is to now push a tag like v4.0.0
# This file contains Bazel settings to apply on CI only. | ||
# It is referenced with a --bazelrc option in the call to bazel in ci.yaml | ||
common --curses=no | ||
common --enable_bzlmod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This config is only used by bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v4
2fb5255
to
8273c69
Compare
Tagged a release from this branch to see if everything works bazelbuild/bazel-central-registry#999 |
Remove non-existent users Add Ben and Nick
dd7c396
to
8ac8b17
Compare
Adding BCR configurations so that we can start deploying future releases to the Bazel central registry.
This pull request pulls in the
bazel-contrib
Github actions for creating Github releases and publishing to the central registry.