From e9c39df0f2607f9e23aa629967f02779df1fec6a Mon Sep 17 00:00:00 2001 From: "app-token-plugins[bot]" Date: Tue, 17 Mar 2026 14:30:23 +0000 Subject: [PATCH] detected new plugin versions --- .../grpc/swift-protobuf/v2.2.1/.dockerignore | 3 ++ plugins/grpc/swift-protobuf/v2.2.1/Dockerfile | 18 ++++++++++ .../swift-protobuf/v2.2.1/Package.resolved | 33 +++++++++++++++++++ .../swift-protobuf/v2.2.1/buf.plugin.yaml | 30 +++++++++++++++++ .../swift-protobuf/v2.2.1/eliza/plugin.sum | 1 + .../swift-protobuf/v2.2.1/petapis/plugin.sum | 1 + 6 files changed, 86 insertions(+) create mode 100644 plugins/grpc/swift-protobuf/v2.2.1/.dockerignore create mode 100644 plugins/grpc/swift-protobuf/v2.2.1/Dockerfile create mode 100644 plugins/grpc/swift-protobuf/v2.2.1/Package.resolved create mode 100644 plugins/grpc/swift-protobuf/v2.2.1/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/petapis/plugin.sum diff --git a/plugins/grpc/swift-protobuf/v2.2.1/.dockerignore b/plugins/grpc/swift-protobuf/v2.2.1/.dockerignore new file mode 100644 index 000000000..2b3157b59 --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.2.1/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!Package.resolved diff --git a/plugins/grpc/swift-protobuf/v2.2.1/Dockerfile b/plugins/grpc/swift-protobuf/v2.2.1/Dockerfile new file mode 100644 index 000000000..daf670d61 --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.2.1/Dockerfile @@ -0,0 +1,18 @@ +# syntax=docker/dockerfile:1.19 +FROM swift:6.2.4-bookworm AS build + +RUN apt-get update \ + && apt-get install -y unzip +WORKDIR /app +RUN git clone --depth 1 --branch 2.2.1 https://github.com/grpc/grpc-swift-protobuf --recursive +WORKDIR /app/grpc-swift-protobuf +COPY --link Package.resolved . +RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift-2 -Xlinker -s --force-resolved-versions + +FROM gcr.io/distroless/cc-debian12:latest@sha256:329e54034ce498f9c6b345044e8f530c6691f99e94a92446f68c0adf9baa8464 AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build /app/grpc-swift-protobuf/.build/release/protoc-gen-grpc-swift-2 . +USER nobody +ENTRYPOINT [ "/protoc-gen-grpc-swift-2" ] diff --git a/plugins/grpc/swift-protobuf/v2.2.1/Package.resolved b/plugins/grpc/swift-protobuf/v2.2.1/Package.resolved new file mode 100644 index 000000000..0a4637ffe --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.2.1/Package.resolved @@ -0,0 +1,33 @@ +{ + "originHash" : "8b9a3a5397dfed5cba58f650b8350d00f07ea4de1c12dbe62d1f31c5135b3849", + "pins" : [ + { + "identity" : "grpc-swift-2", + "kind" : "remoteSourceControl", + "location" : "https://github.com/grpc/grpc-swift-2.git", + "state" : { + "revision" : "f28854bc760a116e053fdfc4a48a9428c34625c0", + "version" : "2.3.0" + } + }, + { + "identity" : "swift-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-collections.git", + "state" : { + "revision" : "8d9834a6189db730f6264db7556a7ffb751e99ee", + "version" : "1.4.0" + } + }, + { + "identity" : "swift-protobuf", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-protobuf.git", + "state" : { + "revision" : "a008af1a102ff3dd6cc3764bb69bf63226d0f5f6", + "version" : "1.36.1" + } + } + ], + "version" : 3 +} diff --git a/plugins/grpc/swift-protobuf/v2.2.1/buf.plugin.yaml b/plugins/grpc/swift-protobuf/v2.2.1/buf.plugin.yaml new file mode 100644 index 000000000..051bb9fd1 --- /dev/null +++ b/plugins/grpc/swift-protobuf/v2.2.1/buf.plugin.yaml @@ -0,0 +1,30 @@ +version: v1 +name: buf.build/grpc/swift-protobuf +plugin_version: v2.2.1 +source_url: https://github.com/grpc/grpc-swift-protobuf +description: Generates Swift client and server stubs for the gRPC framework. +deps: + - plugin: buf.build/apple/swift:v1.36.1 +output_languages: + - swift +registry: + swift: + deps: + - source: https://github.com/grpc/grpc-swift-protobuf.git + package: grpc-swift-protobuf + version: 2.2.1 + products: + - GRPCProtobuf + platforms: + macos: v15 + ios: v18 + tvos: v18 + watchos: v11 + swift_versions: + - .v6 + opts: + - Visibility=Public + - FileNaming=PathToUnderscores +spdx_license_id: Apache-2.0 +license_url: https://github.com/grpc/grpc-swift-protobuf/blob/2.2.1/LICENSE +integration_guide_url: https://swiftpackageindex.com/grpc/grpc-swift-protobuf/2.2.1/documentation/grpcprotobuf diff --git a/tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/eliza/plugin.sum b/tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/eliza/plugin.sum new file mode 100644 index 000000000..eb2c8732b --- /dev/null +++ b/tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/eliza/plugin.sum @@ -0,0 +1 @@ +h1:H1L2+dsAzxe/ws+/A+IrA6i90XNPvCUzQ2XzLsRGfWI= diff --git a/tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/petapis/plugin.sum b/tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/petapis/plugin.sum new file mode 100644 index 000000000..13ab4a1e3 --- /dev/null +++ b/tests/testdata/buf.build/grpc/swift-protobuf/v2.2.1/petapis/plugin.sum @@ -0,0 +1 @@ +h1:0NpEEqxBXr2NItKYA/fHLsnwN1eqJFEVakuZ2Wao9Yk=