From 23562fa610328991609a1c27d5c9f5e24dc8323a Mon Sep 17 00:00:00 2001 From: "app-token-plugins[bot]" <116026991+app-token-plugins[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 17:06:34 -0600 Subject: [PATCH] Add connect-swift v0.2.0 (#322) New plugin versions found. Please review. Co-authored-by: rebello95 --- .../connect-swift-mocks/v0.2.0/.dockerignore | 2 ++ .../bufbuild/connect-swift-mocks/v0.2.0/Dockerfile | 12 ++++++++++++ .../connect-swift-mocks/v0.2.0/buf.plugin.yaml | 11 +++++++++++ plugins/bufbuild/connect-swift/v0.2.0/.dockerignore | 2 ++ plugins/bufbuild/connect-swift/v0.2.0/Dockerfile | 12 ++++++++++++ .../bufbuild/connect-swift/v0.2.0/buf.plugin.yaml | 11 +++++++++++ .../connect-swift-mocks/v0.2.0/eliza/plugin.sum | 1 + .../connect-swift-mocks/v0.2.0/petapis/plugin.sum | 1 + .../bufbuild/connect-swift/v0.2.0/eliza/plugin.sum | 1 + .../bufbuild/connect-swift/v0.2.0/petapis/plugin.sum | 1 + 10 files changed, 54 insertions(+) create mode 100644 plugins/bufbuild/connect-swift-mocks/v0.2.0/.dockerignore create mode 100644 plugins/bufbuild/connect-swift-mocks/v0.2.0/Dockerfile create mode 100644 plugins/bufbuild/connect-swift-mocks/v0.2.0/buf.plugin.yaml create mode 100644 plugins/bufbuild/connect-swift/v0.2.0/.dockerignore create mode 100644 plugins/bufbuild/connect-swift/v0.2.0/Dockerfile create mode 100644 plugins/bufbuild/connect-swift/v0.2.0/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/petapis/plugin.sum diff --git a/plugins/bufbuild/connect-swift-mocks/v0.2.0/.dockerignore b/plugins/bufbuild/connect-swift-mocks/v0.2.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/bufbuild/connect-swift-mocks/v0.2.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/bufbuild/connect-swift-mocks/v0.2.0/Dockerfile b/plugins/bufbuild/connect-swift-mocks/v0.2.0/Dockerfile new file mode 100644 index 000000000..90e27aac8 --- /dev/null +++ b/plugins/bufbuild/connect-swift-mocks/v0.2.0/Dockerfile @@ -0,0 +1,12 @@ +# syntax=docker/dockerfile:1.4 +FROM swift:5.7.2-focal AS build + +WORKDIR /app +RUN git clone --branch 0.2.0 https://github.com/bufbuild/connect-swift +WORKDIR /app/connect-swift +RUN swift build -c release --product protoc-gen-connect-swift-mocks --static-swift-stdlib -Xlinker -s + +FROM gcr.io/distroless/cc-debian11 +COPY --from=build --link /app/connect-swift/.build/release/protoc-gen-connect-swift-mocks . +USER nobody +ENTRYPOINT [ "/protoc-gen-connect-swift-mocks" ] diff --git a/plugins/bufbuild/connect-swift-mocks/v0.2.0/buf.plugin.yaml b/plugins/bufbuild/connect-swift-mocks/v0.2.0/buf.plugin.yaml new file mode 100644 index 000000000..82cfefb14 --- /dev/null +++ b/plugins/bufbuild/connect-swift-mocks/v0.2.0/buf.plugin.yaml @@ -0,0 +1,11 @@ +version: v1 +name: buf.build/bufbuild/connect-swift-mocks +plugin_version: v0.2.0 +source_url: https://github.com/bufbuild/connect-swift +description: Generates mocks that are compatible with Connect-Swift clients. +deps: + - plugin: buf.build/apple/swift:v1.20.3 +output_languages: + - swift +spdx_license_id: Apache-2.0 +license_url: https://github.com/bufbuild/connect-swift/blob/0.2.0/LICENSE diff --git a/plugins/bufbuild/connect-swift/v0.2.0/.dockerignore b/plugins/bufbuild/connect-swift/v0.2.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/bufbuild/connect-swift/v0.2.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/bufbuild/connect-swift/v0.2.0/Dockerfile b/plugins/bufbuild/connect-swift/v0.2.0/Dockerfile new file mode 100644 index 000000000..1ea1ba04e --- /dev/null +++ b/plugins/bufbuild/connect-swift/v0.2.0/Dockerfile @@ -0,0 +1,12 @@ +# syntax=docker/dockerfile:1.4 +FROM swift:5.7.2-focal AS build + +WORKDIR /app +RUN git clone --branch 0.2.0 https://github.com/bufbuild/connect-swift +WORKDIR /app/connect-swift +RUN swift build -c release --product protoc-gen-connect-swift --static-swift-stdlib -Xlinker -s + +FROM gcr.io/distroless/cc-debian11 +COPY --from=build --link /app/connect-swift/.build/release/protoc-gen-connect-swift . +USER nobody +ENTRYPOINT [ "/protoc-gen-connect-swift" ] diff --git a/plugins/bufbuild/connect-swift/v0.2.0/buf.plugin.yaml b/plugins/bufbuild/connect-swift/v0.2.0/buf.plugin.yaml new file mode 100644 index 000000000..6cd5550bc --- /dev/null +++ b/plugins/bufbuild/connect-swift/v0.2.0/buf.plugin.yaml @@ -0,0 +1,11 @@ +version: v1 +name: buf.build/bufbuild/connect-swift +plugin_version: v0.2.0 +source_url: https://github.com/bufbuild/connect-swift +description: Idiomatic gRPC & Connect RPCs for Swift. +deps: + - plugin: buf.build/apple/swift:v1.20.3 +output_languages: + - swift +spdx_license_id: Apache-2.0 +license_url: https://github.com/bufbuild/connect-swift/blob/0.2.0/LICENSE diff --git a/tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/eliza/plugin.sum new file mode 100644 index 000000000..2bde10676 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:tRg+VSTVRgW8bdcCkJWSqEN35HbcsTA4xVjJUqj5rJ4= diff --git a/tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/petapis/plugin.sum new file mode 100644 index 000000000..8cbceac79 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-swift-mocks/v0.2.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:Je0mkrM20xUR8yhKspclN3QAK9EekTzwKOGEw1kea+Q= diff --git a/tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/eliza/plugin.sum new file mode 100644 index 000000000..9a961d0c2 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:JfXRbFucrIubGwyGLXdkpEw/Pim5orx85TH5v4IrhNw= diff --git a/tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/petapis/plugin.sum new file mode 100644 index 000000000..01ac09fb6 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-swift/v0.2.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:eP0482qbaxNenI972+905tF+4nDrD+Vq9Kv/d5fGL7k=