Skip to content

Commit

Permalink
bzlmod: Set up automated BCR releases (#3324)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Oct 17, 2022
1 parent 535c8e6 commit f30b659
Show file tree
Hide file tree
Showing 4 changed files with 48 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/rules_go",
"maintainers": [
{
"email": "fabian@meumertzhe.im",
"github": "fmeum",
"name": "Fabian Meumertzheim"
}
],
"versions": [],
"yanked_versions": {}
}
31 changes: 31 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
matrix:
platform:
- centos7
- debian10
- ubuntu2004
- macos
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_targets:
- '@rules_go//go/tools/bzltestutil/...'
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:
- //...
- '@go_sdk//...'
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}.zip"
}

0 comments on commit f30b659

Please sign in to comment.