From 323dc5caf413e83f4fd282b7f3a7c6c6c88005db 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, 14 Oct 2024 16:43:26 +0200 Subject: [PATCH] rules_build_error@0.5.4 (#2957) Release: https://github.com/yuyawk/rules_build_error/releases/tag/0.5.4 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> --- modules/rules_build_error/0.5.4/MODULE.bazel | 39 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 +++++++ modules/rules_build_error/0.5.4/presubmit.yml | 18 +++++++++ modules/rules_build_error/0.5.4/source.json | 9 +++++ modules/rules_build_error/metadata.json | 3 +- 5 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 modules/rules_build_error/0.5.4/MODULE.bazel create mode 100644 modules/rules_build_error/0.5.4/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_build_error/0.5.4/presubmit.yml create mode 100644 modules/rules_build_error/0.5.4/source.json diff --git a/modules/rules_build_error/0.5.4/MODULE.bazel b/modules/rules_build_error/0.5.4/MODULE.bazel new file mode 100644 index 00000000000..37aed2d5cca --- /dev/null +++ b/modules/rules_build_error/0.5.4/MODULE.bazel @@ -0,0 +1,39 @@ +"""Module for `rules_build_error`. +""" + +module( + name = "rules_build_error", + version = "0.5.4", +) + +################################ +# +# Dev-dependencies +# +################################ + +bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True) +bazel_dep( + name = "hermetic_cc_toolchain", + version = "3.1.1", + dev_dependency = True, +) + +cc_toolchains = use_extension( + "@hermetic_cc_toolchain//toolchain:ext.bzl", + "toolchains", + dev_dependency = True, +) +use_repo(cc_toolchains, "zig_sdk") + +register_toolchains( + "@zig_sdk//toolchain:linux_amd64_gnu.2.31", + "@zig_sdk//toolchain:linux_arm64_gnu.2.31", + "@zig_sdk//toolchain:darwin_amd64", + "@zig_sdk//toolchain:darwin_arm64", + "@zig_sdk//toolchain:windows_amd64", + "@zig_sdk//toolchain:windows_arm64", + dev_dependency = True, +) + +bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True) diff --git a/modules/rules_build_error/0.5.4/patches/module_dot_bazel_version.patch b/modules/rules_build_error/0.5.4/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..7695974f675 --- /dev/null +++ b/modules/rules_build_error/0.5.4/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -2,9 +2,9 @@ + """ + + module( + name = "rules_build_error", +- version = "0.0.0", ++ version = "0.5.4", + ) + + ################################ + # diff --git a/modules/rules_build_error/0.5.4/presubmit.yml b/modules/rules_build_error/0.5.4/presubmit.yml new file mode 100644 index 00000000000..cedaf23343e --- /dev/null +++ b/modules/rules_build_error/0.5.4/presubmit.yml @@ -0,0 +1,18 @@ +--- +bcr_test_module: + module_path: "examples" + matrix: + platform: + - "debian10" + - "ubuntu2004" + - "macos" + bazel: + - "6.x" + - "7.x" + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_build_error/0.5.4/source.json b/modules/rules_build_error/0.5.4/source.json new file mode 100644 index 00000000000..a58c0ba38cd --- /dev/null +++ b/modules/rules_build_error/0.5.4/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-9siXV+V9ZRhg2ZiVOb4IMbyEKcc71yq/W9Wu08WEC4c=", + "strip_prefix": "rules_build_error-0.5.4", + "url": "https://github.com/yuyawk/rules_build_error/releases/download/0.5.4/rules_build_error-0.5.4.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-FjdHq79U8HnjONQYa5V3C0Be74zN6wCbANx0e5Zt370=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_build_error/metadata.json b/modules/rules_build_error/metadata.json index 650eab11df7..b3d02cef4d2 100644 --- a/modules/rules_build_error/metadata.json +++ b/modules/rules_build_error/metadata.json @@ -17,7 +17,8 @@ "0.5.0", "0.5.1", "0.5.2", - "0.5.3" + "0.5.3", + "0.5.4" ], "yanked_versions": {} }