Skip to content

Commit

Permalink
Update connectrpc/swift to v0.10.1 (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Nov 15, 2023
1 parent 582d222 commit 3999c4a
Show file tree
Hide file tree
Showing 10 changed files with 86 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/connectrpc/swift-mocks/v0.10.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
12 changes: 12 additions & 0 deletions plugins/connectrpc/swift-mocks/v0.10.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1.6
FROM swift:5.9.1-focal AS build

WORKDIR /app
RUN git clone --depth 1 --branch 0.10.1 https://github.com/connectrpc/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" ]
27 changes: 27 additions & 0 deletions plugins/connectrpc/swift-mocks/v0.10.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: v1
name: buf.build/connectrpc/swift-mocks
plugin_version: v0.10.1
source_url: https://github.com/connectrpc/connect-swift
integration_guide_url: https://connectrpc.com/docs/swift/testing
description: Generates mocks that are compatible with Connect-Swift clients.
deps:
- plugin: buf.build/apple/swift:v1.25.1
output_languages:
- swift
registry:
swift:
deps:
- source: https://github.com/connectrpc/connect-swift.git
package: connect-swift
products: [ ConnectMocks ]
swift_versions: [ ".v5" ]
version: 0.10.1
platforms:
macos: v10_15
ios: v12
tvos: v13
opts:
- Visibility=Public
- FileNaming=PathToUnderscores
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-swift/blob/0.10.1/LICENSE
2 changes: 2 additions & 0 deletions plugins/connectrpc/swift/v0.10.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
12 changes: 12 additions & 0 deletions plugins/connectrpc/swift/v0.10.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1.6
FROM swift:5.9.1-focal AS build

WORKDIR /app
RUN git clone --depth 1 --branch 0.10.1 https://github.com/connectrpc/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" ]
27 changes: 27 additions & 0 deletions plugins/connectrpc/swift/v0.10.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: v1
name: buf.build/connectrpc/swift
plugin_version: v0.10.1
source_url: https://github.com/connectrpc/connect-swift
integration_guide_url: https://connectrpc.com/docs/swift/getting-started
description: Idiomatic gRPC & Connect RPCs for Swift.
deps:
- plugin: buf.build/apple/swift:v1.25.1
output_languages:
- swift
registry:
swift:
deps:
- source: https://github.com/connectrpc/connect-swift.git
package: connect-swift
products: [ Connect ]
swift_versions: [ ".v5" ]
version: 0.10.1
platforms:
macos: v10_15
ios: v12
tvos: v13
opts:
- Visibility=Public
- FileNaming=PathToUnderscores
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-swift/blob/0.10.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:dFV12zZWalkRO3BRSNMIP9cKQcrS87zoYVL+cNKJoPE=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:iwKLQczZMy7NJbuX4jpwzzp9IARStvmwh+m1o5Ve1Cc=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:o8bVd1VnuRX8uByCzYCgqxALYRwaCZ39sABqiB6S3A8=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:8zAlLcSJY9ilkZNjQmmpPj80LzrVr/zmPKHRpF3J9JE=

0 comments on commit 3999c4a

Please sign in to comment.