From cb900a5e5f7f182f22e7dc6f47f2bda455622d51 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, 16 Oct 2023 10:22:34 -0700 Subject: [PATCH] aspect_rules_lint@0.1.2 (#1007) * Publish aspect-build/rules_lint@v0.1.2 * Update presubmit.yml --------- Co-authored-by: Alex Eagle --- modules/aspect_rules_lint/0.1.2/MODULE.bazel | 43 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 ++++++ modules/aspect_rules_lint/0.1.2/presubmit.yml | 12 ++++++ modules/aspect_rules_lint/0.1.2/source.json | 9 ++++ modules/aspect_rules_lint/metadata.json | 17 ++++++++ 5 files changed, 95 insertions(+) create mode 100644 modules/aspect_rules_lint/0.1.2/MODULE.bazel create mode 100644 modules/aspect_rules_lint/0.1.2/patches/module_dot_bazel_version.patch create mode 100644 modules/aspect_rules_lint/0.1.2/presubmit.yml create mode 100644 modules/aspect_rules_lint/0.1.2/source.json create mode 100644 modules/aspect_rules_lint/metadata.json diff --git a/modules/aspect_rules_lint/0.1.2/MODULE.bazel b/modules/aspect_rules_lint/0.1.2/MODULE.bazel new file mode 100644 index 00000000000..3c44d7f795c --- /dev/null +++ b/modules/aspect_rules_lint/0.1.2/MODULE.bazel @@ -0,0 +1,43 @@ +"Bazel dependencies" + +module( + name = "aspect_rules_lint", + version = "0.1.2", + 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) + +go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps", dev_dependency = True) +go_deps.from_file(go_mod = "//:go.mod") +go_deps.gazelle_override( + build_file_generation = "on", + path = "github.com/bazelbuild/bazelisk", +) + +# All *direct* Go dependencies of the module have to be listed explicitly. +use_repo( + go_deps, + "build_aspect_cli", + "com_github_fatih_color", + "com_github_hashicorp_go_plugin", + "in_gopkg_yaml_v2", +) diff --git a/modules/aspect_rules_lint/0.1.2/patches/module_dot_bazel_version.patch b/modules/aspect_rules_lint/0.1.2/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..391c5034b50 --- /dev/null +++ b/modules/aspect_rules_lint/0.1.2/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.1.2", + compatibility_level = 1, + ) + + bazel_dep(name = "aspect_bazel_lib", version = "1.36.0") diff --git a/modules/aspect_rules_lint/0.1.2/presubmit.yml b/modules/aspect_rules_lint/0.1.2/presubmit.yml new file mode 100644 index 00000000000..98dabc66abb --- /dev/null +++ b/modules/aspect_rules_lint/0.1.2/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.1.2/source.json b/modules/aspect_rules_lint/0.1.2/source.json new file mode 100644 index 00000000000..9e4069d6800 --- /dev/null +++ b/modules/aspect_rules_lint/0.1.2/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-3ZH+tSzXiiWFg2Bri+lKCQGVKvSyTt2KCAqkrVSIm+8=", + "strip_prefix": "rules_lint-0.1.2", + "url": "https://github.com/aspect-build/rules_lint/releases/download/v0.1.2/rules_lint-v0.1.2.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-BgtJ2nWzBn4A+Gzi/hWouOblnCH7Rq8k4doEZSoGgyY=" + }, + "patch_strip": 1 +} diff --git a/modules/aspect_rules_lint/metadata.json b/modules/aspect_rules_lint/metadata.json new file mode 100644 index 00000000000..4cd8cf5254d --- /dev/null +++ b/modules/aspect_rules_lint/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/aspect-build/rules_lint", + "maintainers": [ + { + "email": "hello@aspect.dev", + "github": "aspect-build", + "name": "Aspect team" + } + ], + "repository": [ + "github:aspect-build/rules_lint" + ], + "versions": [ + "0.1.2" + ], + "yanked_versions": {} +}