From 7fe5133f8be2c275fbd1142925b92dbe79aabe85 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:31:46 +0100 Subject: [PATCH] rules_bazel_integration_test@0.26.1 (#3109) Release: https://github.com/bazel-contrib/rules_bazel_integration_test/releases/tag/v0.26.1 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Chuck Grindel --- .../0.26.1/MODULE.bazel | 44 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 12 +++++ .../0.26.1/presubmit.yml | 14 ++++++ .../0.26.1/source.json | 9 ++++ .../metadata.json | 3 +- 5 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 modules/rules_bazel_integration_test/0.26.1/MODULE.bazel create mode 100644 modules/rules_bazel_integration_test/0.26.1/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_bazel_integration_test/0.26.1/presubmit.yml create mode 100644 modules/rules_bazel_integration_test/0.26.1/source.json diff --git a/modules/rules_bazel_integration_test/0.26.1/MODULE.bazel b/modules/rules_bazel_integration_test/0.26.1/MODULE.bazel new file mode 100644 index 00000000000..de5ab4d3951 --- /dev/null +++ b/modules/rules_bazel_integration_test/0.26.1/MODULE.bazel @@ -0,0 +1,44 @@ +module( + name = "rules_bazel_integration_test", + version = "0.26.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.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 = "6.5.0") +bazel_binaries.local(path = "tools/fake_bazel.sh") +use_repo( + bazel_binaries, + "bazel_binaries", + "bazel_binaries_bazelisk", + "build_bazel_bazel_.bazelversion", + "build_bazel_bazel_6_5_0", + "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") diff --git a/modules/rules_bazel_integration_test/0.26.1/patches/module_dot_bazel_version.patch b/modules/rules_bazel_integration_test/0.26.1/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..5537a4c01ee --- /dev/null +++ b/modules/rules_bazel_integration_test/0.26.1/patches/module_dot_bazel_version.patch @@ -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.26.1", + ) + + bazel_dep(name = "bazel_skylib", version = "1.4.1") + bazel_dep(name = "rules_python", version = "0.19.0") diff --git a/modules/rules_bazel_integration_test/0.26.1/presubmit.yml b/modules/rules_bazel_integration_test/0.26.1/presubmit.yml new file mode 100644 index 00000000000..8d4a94ff9d5 --- /dev/null +++ b/modules/rules_bazel_integration_test/0.26.1/presubmit.yml @@ -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.3.2 + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//bazel_integration_test/bzlmod/..." diff --git a/modules/rules_bazel_integration_test/0.26.1/source.json b/modules/rules_bazel_integration_test/0.26.1/source.json new file mode 100644 index 00000000000..0dbf4de1e08 --- /dev/null +++ b/modules/rules_bazel_integration_test/0.26.1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-KLXBFedhM4KhHfslb4QtWqyOvh9nU+0DVHAj9AztKK4=", + "strip_prefix": "", + "url": "https://github.com/bazel-contrib/rules_bazel_integration_test/releases/download/v0.26.1/rules_bazel_integration_test.v0.26.1.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-KI2A0lZETCJWb88aSj2YT/fwQdBmgtyA4bjTYZLBzGQ=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_bazel_integration_test/metadata.json b/modules/rules_bazel_integration_test/metadata.json index 1b960ed4b0c..c669c7ecdb5 100644 --- a/modules/rules_bazel_integration_test/metadata.json +++ b/modules/rules_bazel_integration_test/metadata.json @@ -30,7 +30,8 @@ "0.23.0", "0.24.1", "0.25.0", - "0.26.0" + "0.26.0", + "0.26.1" ], "yanked_versions": {} }