From ad92c1ba81872472782f9142963a49f193be603c Mon Sep 17 00:00:00 2001 From: yushiqie <21165026+yushiqie@users.noreply.github.com> Date: Mon, 26 May 2025 07:22:53 +0000 Subject: [PATCH] Publish secretflow/kuscia@v0.15.0b1 --- modules/kuscia/0.15.0b1/MODULE.bazel | 31 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 +++++++++ modules/kuscia/0.15.0b1/presubmit.yml | 30 ++++++++++++++++++ modules/kuscia/0.15.0b1/source.json | 9 ++++++ modules/kuscia/metadata.json | 3 +- 5 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 modules/kuscia/0.15.0b1/MODULE.bazel create mode 100644 modules/kuscia/0.15.0b1/patches/module_dot_bazel_version.patch create mode 100644 modules/kuscia/0.15.0b1/presubmit.yml create mode 100644 modules/kuscia/0.15.0b1/source.json diff --git a/modules/kuscia/0.15.0b1/MODULE.bazel b/modules/kuscia/0.15.0b1/MODULE.bazel new file mode 100644 index 0000000..c1c0384 --- /dev/null +++ b/modules/kuscia/0.15.0b1/MODULE.bazel @@ -0,0 +1,31 @@ +# Copyright 2024 Ant Group Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +module( + name = "kuscia", + version = "0.15.0b1", + compatibility_level = 1, +) + +bazel_dep(name = "protobuf", version = "27.3", repo_name = "com_google_protobuf") +bazel_dep(name = "toolchains_protoc", version = "0.3.6") + +protoc = use_extension("@toolchains_protoc//protoc:extensions.bzl", "protoc") +protoc.toolchain( + version = "v27.3", +) + +bazel_dep(name = "rules_proto", version = "6.0.2") +bazel_dep(name = "rules_cc", version = "0.0.12") +bazel_dep(name = "rules_proto_grpc_cpp", version = "5.0.1") diff --git a/modules/kuscia/0.15.0b1/patches/module_dot_bazel_version.patch b/modules/kuscia/0.15.0b1/patches/module_dot_bazel_version.patch new file mode 100644 index 0000000..df14485 --- /dev/null +++ b/modules/kuscia/0.15.0b1/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -13,9 +13,9 @@ + # limitations under the License. + + module( + name = "kuscia", +- version = "0.15.0b0", ++ version = "0.15.0b1", + compatibility_level = 1, + ) + + bazel_dep(name = "protobuf", version = "27.3", repo_name = "com_google_protobuf") diff --git a/modules/kuscia/0.15.0b1/presubmit.yml b/modules/kuscia/0.15.0b1/presubmit.yml new file mode 100644 index 0000000..6589d8e --- /dev/null +++ b/modules/kuscia/0.15.0b1/presubmit.yml @@ -0,0 +1,30 @@ +# Copyright 2025 Ant Group Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@kuscia//..." diff --git a/modules/kuscia/0.15.0b1/source.json b/modules/kuscia/0.15.0b1/source.json new file mode 100644 index 0000000..14e13af --- /dev/null +++ b/modules/kuscia/0.15.0b1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-Yqj1WxtA7aNdC3rr8cDxkC/5quPCZZS8rYOwZ6dOL48=", + "strip_prefix": "kuscia-0.15.0b1", + "url": "https://github.com/secretflow/kuscia/archive/refs/tags/v0.15.0b1.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-vKL9qMpG0wi0BYSFP20to1LXnQZ4t9L/+Bpw2Iwhf6M=" + }, + "patch_strip": 1 +} diff --git a/modules/kuscia/metadata.json b/modules/kuscia/metadata.json index 5f946f4..bc50364 100644 --- a/modules/kuscia/metadata.json +++ b/modules/kuscia/metadata.json @@ -7,7 +7,8 @@ "versions": [ "0.13.0b1", "0.14.0b0", - "0.15.0b0" + "0.15.0b0", + "0.15.0b1" ], "yanked_versions": {} }