From def592a4845d6ba0bf54648be93342303b0cc172 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 08:06:45 -0800 Subject: [PATCH] Publish aspect-build/rules_lint@v0.6.0 (#1160) Co-authored-by: Alex Eagle --- modules/aspect_rules_lint/0.6.0/MODULE.bazel | 27 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 ++++++++++ modules/aspect_rules_lint/0.6.0/presubmit.yml | 12 +++++++++ modules/aspect_rules_lint/0.6.0/source.json | 9 +++++++ modules/aspect_rules_lint/metadata.json | 3 ++- 5 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 modules/aspect_rules_lint/0.6.0/MODULE.bazel create mode 100644 modules/aspect_rules_lint/0.6.0/patches/module_dot_bazel_version.patch create mode 100644 modules/aspect_rules_lint/0.6.0/presubmit.yml create mode 100644 modules/aspect_rules_lint/0.6.0/source.json diff --git a/modules/aspect_rules_lint/0.6.0/MODULE.bazel b/modules/aspect_rules_lint/0.6.0/MODULE.bazel new file mode 100644 index 00000000000..f94d3826bee --- /dev/null +++ b/modules/aspect_rules_lint/0.6.0/MODULE.bazel @@ -0,0 +1,27 @@ +"Bazel dependencies" + +module( + name = "aspect_rules_lint", + version = "0.6.0", + compatibility_level = 1, +) + +bazel_dep(name = "aspect_bazel_lib", version = "1.36.0") + +# Needed in the root because we use js_lib_helpers in our aspect impl +bazel_dep(name = "aspect_rules_js", version = "1.32.6") +bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "platforms", version = "0.0.7") + +# Needed in the root because we dereference ProtoInfo in our aspect impl +bazel_dep(name = "rules_proto", version = "5.3.0-21.7") + +# Needed in the root because we dereference the toolchain in our aspect impl +bazel_dep(name = "rules_buf", version = "0.1.1") + +# Needed due to rules_proto leaking the dependency +bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") + +bazel_dep(name = "rules_go", version = "0.39.1", dev_dependency = True) +bazel_dep(name = "gazelle", version = "0.31.0", dev_dependency = True) +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) diff --git a/modules/aspect_rules_lint/0.6.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_lint/0.6.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..3ad89a9a61c --- /dev/null +++ b/modules/aspect_rules_lint/0.6.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,9 +1,9 @@ + "Bazel dependencies" + + module( + name = "aspect_rules_lint", +- version = "0.0.0", ++ version = "0.6.0", + compatibility_level = 1, + ) + + bazel_dep(name = "aspect_bazel_lib", version = "1.36.0") diff --git a/modules/aspect_rules_lint/0.6.0/presubmit.yml b/modules/aspect_rules_lint/0.6.0/presubmit.yml new file mode 100644 index 00000000000..98dabc66abb --- /dev/null +++ b/modules/aspect_rules_lint/0.6.0/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "example" + matrix: + platform: ["debian10", "macos", "ubuntu2004"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + environment: + BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/" + test_targets: + - "//..." diff --git a/modules/aspect_rules_lint/0.6.0/source.json b/modules/aspect_rules_lint/0.6.0/source.json new file mode 100644 index 00000000000..d5f44c1057e --- /dev/null +++ b/modules/aspect_rules_lint/0.6.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-v5jTbsVpX9DJMGcimWBjeToCuLBiKnznM4v3u+WFxNE=", + "strip_prefix": "rules_lint-0.6.0", + "url": "https://github.com/aspect-build/rules_lint/releases/download/v0.6.0/rules_lint-v0.6.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-qtebed6Co5oq142Y2LghXZ0nx8Pc+KJYvjOMoZY/zfQ=" + }, + "patch_strip": 1 +} diff --git a/modules/aspect_rules_lint/metadata.json b/modules/aspect_rules_lint/metadata.json index aa59f4b6267..904e14de972 100644 --- a/modules/aspect_rules_lint/metadata.json +++ b/modules/aspect_rules_lint/metadata.json @@ -15,7 +15,8 @@ "0.2.0", "0.2.1", "0.3.0", - "0.4.0" + "0.4.0", + "0.6.0" ], "yanked_versions": {} }