From 79ebb91b16b0d0a624f527667ffdb844760fe6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=B9d=C5=8Dng=20Y=C3=A1ng?= Date: Mon, 6 Nov 2023 11:40:37 -0800 Subject: [PATCH] publish bazel-skylib 1.5.0 (#1100) * publish bazel-skylib 1.5.0 * fix MODULE.bazel * fix MODULE.bazel... again --- modules/bazel_skylib/1.5.0/MODULE.bazel | 14 +++++++++++++ modules/bazel_skylib/1.5.0/presubmit.yml | 13 ++++++++++++ modules/bazel_skylib/1.5.0/source.json | 4 ++++ modules/bazel_skylib/metadata.json | 3 ++- .../1.5.0/MODULE.bazel | 21 +++++++++++++++++++ .../1.5.0/presubmit.yml | 13 ++++++++++++ .../1.5.0/source.json | 4 ++++ .../bazel_skylib_gazelle_plugin/metadata.json | 3 ++- 8 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 modules/bazel_skylib/1.5.0/MODULE.bazel create mode 100644 modules/bazel_skylib/1.5.0/presubmit.yml create mode 100644 modules/bazel_skylib/1.5.0/source.json create mode 100644 modules/bazel_skylib_gazelle_plugin/1.5.0/MODULE.bazel create mode 100644 modules/bazel_skylib_gazelle_plugin/1.5.0/presubmit.yml create mode 100644 modules/bazel_skylib_gazelle_plugin/1.5.0/source.json diff --git a/modules/bazel_skylib/1.5.0/MODULE.bazel b/modules/bazel_skylib/1.5.0/MODULE.bazel new file mode 100644 index 00000000000..6ddfddca10a --- /dev/null +++ b/modules/bazel_skylib/1.5.0/MODULE.bazel @@ -0,0 +1,14 @@ +module( + name = "bazel_skylib", + # Keep in sync with version.bzl and @bazel_skylib_gazelle_plugin//:MODULE.bazel + version = "1.5.0", + compatibility_level = 1, +) + +register_toolchains( + "//toolchains/unittest:cmd_toolchain", + "//toolchains/unittest:bash_toolchain", +) + +bazel_dep(name = "platforms", version = "0.0.4") + diff --git a/modules/bazel_skylib/1.5.0/presubmit.yml b/modules/bazel_skylib/1.5.0/presubmit.yml new file mode 100644 index 00000000000..970ed075f54 --- /dev/null +++ b/modules/bazel_skylib/1.5.0/presubmit.yml @@ -0,0 +1,13 @@ +matrix: + platform: + - centos7 + - debian10 + - ubuntu2004 + - macos + - windows +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_targets: + - '@bazel_skylib//...' diff --git a/modules/bazel_skylib/1.5.0/source.json b/modules/bazel_skylib/1.5.0/source.json new file mode 100644 index 00000000000..6e0e0ab0d71 --- /dev/null +++ b/modules/bazel_skylib/1.5.0/source.json @@ -0,0 +1,4 @@ +{ + "integrity": "sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=", + "url": "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz" +} diff --git a/modules/bazel_skylib/metadata.json b/modules/bazel_skylib/metadata.json index a56cbe36aa2..ebf7a1d680d 100644 --- a/modules/bazel_skylib/metadata.json +++ b/modules/bazel_skylib/metadata.json @@ -17,7 +17,8 @@ "1.3.0", "1.4.0", "1.4.1", - "1.4.2" + "1.4.2", + "1.5.0" ], "yanked_versions": {} } diff --git a/modules/bazel_skylib_gazelle_plugin/1.5.0/MODULE.bazel b/modules/bazel_skylib_gazelle_plugin/1.5.0/MODULE.bazel new file mode 100644 index 00000000000..7afa2420b44 --- /dev/null +++ b/modules/bazel_skylib_gazelle_plugin/1.5.0/MODULE.bazel @@ -0,0 +1,21 @@ +module( + name = "bazel_skylib_gazelle_plugin", + # Keep in sync with @bazel_skylib//:MODULE.bazel and @bazel_skylib//:version.bzl + version = "1.5.0", + compatibility_level = 1, +) + +# Keep in sync with @bazel_skylib//:MODULE.bazel and @bazel_skylib//:version.bzl +bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "gazelle", version = "0.29.0", repo_name = "bazel_gazelle") +bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go") + +# `rules_go` will register a toolchain for us if the user doesn't do so + +go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") +go_deps.module( + path = "github.com/bazelbuild/buildtools", + sum = "h1:fmdo+fvvWlhldUcqkhAMpKndSxMN3vH5l7yow5cEaiQ=", + version = "v0.0.0-20220531122519-a43aed7014c8", +) +use_repo(go_deps, "com_github_bazelbuild_buildtools") diff --git a/modules/bazel_skylib_gazelle_plugin/1.5.0/presubmit.yml b/modules/bazel_skylib_gazelle_plugin/1.5.0/presubmit.yml new file mode 100644 index 00000000000..145d1157b81 --- /dev/null +++ b/modules/bazel_skylib_gazelle_plugin/1.5.0/presubmit.yml @@ -0,0 +1,13 @@ +matrix: + platform: + - centos7 + - debian10 + - ubuntu2004 + - macos + - windows +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_targets: + - '@bazel_skylib_gazelle_plugin//...' diff --git a/modules/bazel_skylib_gazelle_plugin/1.5.0/source.json b/modules/bazel_skylib_gazelle_plugin/1.5.0/source.json new file mode 100644 index 00000000000..4e2599912e2 --- /dev/null +++ b/modules/bazel_skylib_gazelle_plugin/1.5.0/source.json @@ -0,0 +1,4 @@ +{ + "integrity": "sha256-dHrd8/UIGGI09iMmdN13hnQ++4xoYZrs5fsMrJe49BU=", + "url": "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz" +} diff --git a/modules/bazel_skylib_gazelle_plugin/metadata.json b/modules/bazel_skylib_gazelle_plugin/metadata.json index 28888b23761..50b161fac19 100644 --- a/modules/bazel_skylib_gazelle_plugin/metadata.json +++ b/modules/bazel_skylib_gazelle_plugin/metadata.json @@ -12,7 +12,8 @@ "versions": [ "1.4.0", "1.4.1", - "1.4.2" + "1.4.2", + "1.5.0" ], "yanked_versions": {} }