Skip to content

Commit

Permalink
bzlmod: Set up automated BCR releases (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Oct 17, 2022
1 parent 234130f commit 2cf6877
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bcr/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fixedReleaser: fmeum
12 changes: 12 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"homepage": "https://github.com/bazelbuild/bazel-gazelle",
"maintainers": [
{
"email": "fabian@meumertzhe.im",
"github": "fmeum",
"name": "Fabian Meumertzheim"
}
],
"versions": [],
"yanked_versions": {}
}
18 changes: 18 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
bcr_test_module:
module_path: tests/bcr
matrix:
platform:
- centos7
- debian10
- ubuntu2004
- macos
- windows
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
build_targets:
- //...
- //:gazelle
test_targets:
- //...
4 changes: 4 additions & 0 deletions .bcr/source.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"integrity": "",
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz"
}
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ load("//:def.bzl", "gazelle", "gazelle_binary")
# gazelle:exclude vendor
# gazelle:exclude third_party
# gazelle:exclude .bazelci
# gazelle:exclude .bcr
# gazelle:exclude .idea
# gazelle:exclude .github
# gazelle:exclude .vscode
Expand Down

0 comments on commit 2cf6877

Please sign in to comment.