Skip to content

Commit

Permalink
Publish bazel-contrib/[email protected] (bazelbuil…
Browse files Browse the repository at this point in the history
…d#845)

Co-authored-by: Chuck Grindel <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and cgrindel authored Aug 16, 2023
1 parent 7956e6b commit 12d9114
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 1 deletion.
30 changes: 30 additions & 0 deletions modules/rules_bazel_integration_test/0.15.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module(
name = "rules_bazel_integration_test",
version = "0.15.1",
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "rules_python", version = "0.19.0")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.0")

register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain")

# Must keep the Bazel version listed in WORKSPACE in sync with those loaded
# below.
bazel_binaries = use_extension(
"//:extensions.bzl",
"bazel_binaries",
dev_dependency = True,
)
bazel_binaries.download(version_file = "//:.bazelversion")
bazel_binaries.download(version = "7.0.0-pre.20230215.2")
use_repo(bazel_binaries, "bazel_binaries")

download_sample_file = use_extension(
"//examples/env_var_with_rootpath:sample_file_extension.bzl",
"download_sample_file",
dev_dependency = True,
)

use_repo(download_sample_file, "sample_file")
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: MODULE.bazel
===================================================================
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_bazel_integration_test",
- version = "0.0.0",
+ version = "0.15.1",
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "rules_python", version = "0.19.0")
10 changes: 10 additions & 0 deletions modules/rules_bazel_integration_test/0.15.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bcr_test_module:
module_path: ""
matrix:
platform: ["macos", "ubuntu2004"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
test_targets:
- "//bazel_integration_test/bzlmod/..."
9 changes: 9 additions & 0 deletions modules/rules_bazel_integration_test/0.15.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-yM6AgOVYV1JtqNi64sQQdBd7hps5jS7CLGvn6NImFKM=",
"strip_prefix": "",
"url": "https://github.com/bazel-contrib/rules_bazel_integration_test/releases/download/v0.15.1/rules_bazel_integration_test.v0.15.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-s8AKIHNRjgR1MXWnkELgoc0XPmCl4glP/Fn1oyWPKRQ="
},
"patch_strip": 0
}
3 changes: 2 additions & 1 deletion modules/rules_bazel_integration_test/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"0.13.0",
"0.14.0",
"0.14.1",
"0.15.0"
"0.15.0",
"0.15.1"
],
"yanked_versions": {}
}

0 comments on commit 12d9114

Please sign in to comment.