Skip to content

Commit

Permalink
chore: add .bcr templates
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Mar 25, 2024
1 parent 74d1c80 commit b0614b4
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"homepage": "https://github.com/oxidase/rules_poetry",
"maintainers": [
{
"email": "[email protected]",
"github": "oxidase",
"name": "Michael Krasnyk"
}
],
"repository": [
"github:oxidase/rules_poetry"
],
"versions": [],
"yanked_versions": {}
}
32 changes: 32 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
matrix:
platform:
- centos7
- debian10
- ubuntu2004
- macos
bazel:
- 7.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rules_poetry//python/...'
- '@rules_poetry//lib/...'
bcr_test_module:
module_path: "examples/transitions"
matrix:
platform:
- debian11
- macos
- ubuntu2004
bazel:
- 7.x
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
test_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 @@
{
"integrity": "",
"strip_prefix": "{REPO}-{VERSION}",
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz"
}

0 comments on commit b0614b4

Please sign in to comment.