diff --git a/.bcr/metadata.template.json b/.bcr/metadata.template.json new file mode 100644 index 0000000..aab50d0 --- /dev/null +++ b/.bcr/metadata.template.json @@ -0,0 +1,15 @@ +{ + "homepage": "https://github.com/oxidase/rules_poetry", + "maintainers": [ + { + "email": "michael.krasnyk@gmail.com", + "github": "oxidase", + "name": "Michael Krasnyk" + } + ], + "repository": [ + "github:oxidase/rules_poetry" + ], + "versions": [], + "yanked_versions": {} +} diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml new file mode 100644 index 0000000..d5d7f53 --- /dev/null +++ b/.bcr/presubmit.yml @@ -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: + - //... diff --git a/.bcr/source.template.json b/.bcr/source.template.json new file mode 100644 index 0000000..4014d85 --- /dev/null +++ b/.bcr/source.template.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/oxidase/rules_poetry/releases/download/v{TAG}/rules_poetry-{TAG}.tar.gz", + "integrity": "", + "strip_prefix": "rules_poetry-{TAG}" +}