From 8878d7c0bbb4351d18b966296b444afe5dcda140 Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:32:36 +0200 Subject: [PATCH] prepare bcr release --- .bcr/config.yml | 0 .bcr/metadata.template.json | 15 +++++++++++++++ .bcr/presubmit.yml | 12 ++++++++++++ .bcr/source.template.json | 5 +++++ 4 files changed, 32 insertions(+) create mode 100644 .bcr/config.yml create mode 100644 .bcr/metadata.template.json create mode 100644 .bcr/presubmit.yml create mode 100644 .bcr/source.template.json diff --git a/.bcr/config.yml b/.bcr/config.yml new file mode 100644 index 0000000..e69de29 diff --git a/.bcr/metadata.template.json b/.bcr/metadata.template.json new file mode 100644 index 0000000..6064dd1 --- /dev/null +++ b/.bcr/metadata.template.json @@ -0,0 +1,15 @@ +{ + "homepage": "https://github.com/tweag/rules_gcs", + "maintainers": [ + { + "name": "Malte Poll", + "email": "malte.poll@moduscreate.com", + "github": "malt3" + } + ], + "repository": [ + "github:tweag/rules_gcs" + ], + "versions": [], + "yanked_versions": {} + } diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml new file mode 100644 index 0000000..928f54b --- /dev/null +++ b/.bcr/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "." + matrix: + platform: ["debian10", "macos", "ubuntu2004"] + bazel: [7.x] + tasks: + run_tests: + 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..f64d0e3 --- /dev/null +++ b/.bcr/source.template.json @@ -0,0 +1,5 @@ +{ + "integrity": "", + "strip_prefix": "{REPO}-{VERSION}", + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz" +}