Skip to content

Commit

Permalink
Add connect-swift v0.2.0 (#322)
Browse files Browse the repository at this point in the history
New plugin versions found. Please review.

Co-authored-by: rebello95 <[email protected]>
  • Loading branch information
app-token-plugins[bot] and rebello95 authored Jan 19, 2023
1 parent af7d12d commit 23562fa
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/bufbuild/connect-swift-mocks/v0.2.0/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
12 changes: 12 additions & 0 deletions plugins/bufbuild/connect-swift-mocks/v0.2.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]
11 changes: 11 additions & 0 deletions plugins/bufbuild/connect-swift-mocks/v0.2.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions plugins/bufbuild/connect-swift/v0.2.0/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
12 changes: 12 additions & 0 deletions plugins/bufbuild/connect-swift/v0.2.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]
11 changes: 11 additions & 0 deletions plugins/bufbuild/connect-swift/v0.2.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:tRg+VSTVRgW8bdcCkJWSqEN35HbcsTA4xVjJUqj5rJ4=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:Je0mkrM20xUR8yhKspclN3QAK9EekTzwKOGEw1kea+Q=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:JfXRbFucrIubGwyGLXdkpEw/Pim5orx85TH5v4IrhNw=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:eP0482qbaxNenI972+905tF+4nDrD+Vq9Kv/d5fGL7k=

0 comments on commit 23562fa

Please sign in to comment.