Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update connectrpc/swift to v0.10.0 #913

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions plugins/connectrpc/swift-mocks/v0.10.0/.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.0/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.0 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.0/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.0
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.0
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.0/LICENSE
2 changes: 2 additions & 0 deletions plugins/connectrpc/swift/v0.10.0/.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.0/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.0 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.0/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.0
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.0
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.0/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=
Loading