-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/bazel-contrib/rules_bazel_integration_test/releases/tag/v0.29.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Chuck Grindel <[email protected]>
- Loading branch information
1 parent
8f164f7
commit 4ec28dd
Showing
5 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
module( | ||
name = "rules_bazel_integration_test", | ||
version = "0.29.0", | ||
) | ||
|
||
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.18.0") | ||
bazel_dep(name = "rules_shell", version = "0.2.0") | ||
|
||
# not a direct dependency, but required here for bazel starlib's difftest macros to work | ||
bazel_dep( | ||
name = "buildifier_prebuilt", | ||
version = "6.1.2", | ||
) | ||
|
||
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 = "8.0.0rc2") | ||
bazel_binaries.local(path = "tools/fake_bazel.sh") | ||
use_repo( | ||
bazel_binaries, | ||
"bazel_binaries", | ||
"bazel_binaries_bazelisk", | ||
"build_bazel_bazel_.bazelversion", | ||
"build_bazel_bazel_8_0_0rc2", | ||
"build_bazel_bazel_local", | ||
) | ||
|
||
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") |
12 changes: 12 additions & 0 deletions
12
modules/rules_bazel_integration_test/0.29.0/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "rules_bazel_integration_test", | ||
- version = "0.0.0", | ||
+ version = "0.29.0", | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.4.1") | ||
bazel_dep(name = "rules_python", version = "0.19.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
bcr_test_module: | ||
module_path: "" | ||
matrix: | ||
platform: ["macos", "ubuntu2004"] | ||
bazel: | ||
# This needs to exactly match the value used in .bazelversion at the root. | ||
- 7.4.1 | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
test_targets: | ||
- "//bazel_integration_test/bzlmod/..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-h5BaCd9eE396AakFPM/8zntku8hi/8wHoIKjucb3UFA=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/bazel-contrib/rules_bazel_integration_test/releases/download/v0.29.0/rules_bazel_integration_test.v0.29.0.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-TEGIoacQMPqF4ET47lw+Jv0i0mwZIt1MAO+A9slqRow=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,8 @@ | |
"0.25.0", | ||
"0.26.0", | ||
"0.26.1", | ||
"0.27.0" | ||
"0.27.0", | ||
"0.29.0" | ||
], | ||
"yanked_versions": {} | ||
} |