-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add connect-kotlin v0.1.2 and grpc-swift v1.14.1 (#390)
- Loading branch information
1 parent
f5e372b
commit 0dd2033
Showing
10 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM gradle:7.4.0-jdk17 AS build | ||
WORKDIR /app | ||
RUN git clone --depth 1 --branch v0.1.2 https://github.com/bufbuild/connect-kotlin.git | ||
WORKDIR /app/connect-kotlin | ||
RUN gradle --no-daemon -g $(pwd) protoc-gen-connect-kotlin:jar | ||
|
||
FROM gcr.io/distroless/java17-debian11 | ||
WORKDIR /app | ||
COPY --from=build /app/connect-kotlin/protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar /app | ||
CMD ["/app/protoc-gen-connect-kotlin.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/bufbuild/connect-kotlin | ||
plugin_version: v0.1.2 | ||
source_url: https://github.com/bufbuild/connect-kotlin | ||
description: Idiomatic gRPC & Connect RPCs for Kotlin. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/java:v22.0 | ||
output_languages: | ||
- kotlin | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/bufbuild/connect-kotlin/blob/v0.1.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM swift:5.7.3-focal AS build | ||
|
||
WORKDIR /app | ||
RUN git clone --depth 1 --branch 1.14.1 https://github.com/grpc/grpc-swift --recursive | ||
WORKDIR /app/grpc-swift | ||
RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link /app/grpc-swift/.build/release/protoc-gen-grpc-swift . | ||
USER nobody | ||
ENTRYPOINT [ "/protoc-gen-grpc-swift" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/swift | ||
plugin_version: v1.14.1 | ||
source_url: https://github.com/grpc/grpc-swift | ||
description: Generates Swift client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/apple/swift:v1.21.0 | ||
output_languages: | ||
- swift | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc-swift/blob/1.14.1/LICENSE |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/bufbuild/connect-kotlin/v0.1.2/eliza/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:9abar+F7ExOckqxcAsciO8PYSCGFyt2Dtxtwn98x4ik= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/bufbuild/connect-kotlin/v0.1.2/petapis/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:alA/l4f9IIlzBnsY3F/+11p6V7xE2Wkb0MedSGs++dI= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:AyTBCyR7NTQf+n2zmThBq9/Nveb5Mx/QZnQ4ZvovhF4= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:nxLl9QVtjt+8+FrGOVBBSZnGQLT+GrD+NjxshOJh7xc= |