Skip to content

Commit

Permalink
feat: add bcr config to automatize publishing new releases to bcr
Browse files Browse the repository at this point in the history
  • Loading branch information
danigar committed Jan 14, 2025
1 parent fff69dd commit 4d2e9ee
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"homepage": "https://github.com/masmovil/masorange_rules_helm",
"maintainers": [
{
"email": "daniel@etereo.io",
"github": "danigar",
"name": "Daniel Garcia"
},
{
"email": "pablo.moncada@masmovil.com",
"name": "Pablo Moncada"
},
{
"email": "carlos.gamez@masmovil.com",
"name": "Carlos Gamez"
}
],
"repository": [
"github:masmovil/masorange_rules_helm"
],
"versions": [
"1.5.0"
],
"yanked_versions": {}
}
18 changes: 18 additions & 0 deletions .bcr/presubmit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
matrix:
module_path: examples
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel:
- 8.x
- 7.x
- 6.x
tasks:
verify_targets:
run_test_module:
name: Build examples module
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets: ['//...']
5 changes: 5 additions & 0 deletions .bcr/source.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/masorange_rules_helm-{TAG}.tar.gz",
"integrity": "",
"strip_prefix": "{REPO}-{VERSION}"
}

0 comments on commit 4d2e9ee

Please sign in to comment.