-
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.
Update connectrpc/kotlin to v0.7.2 (#1656)
- Loading branch information
1 parent
59e76c5
commit 1ba70d3
Showing
5 changed files
with
48 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,15 @@ | ||
# syntax=docker/dockerfile:1.12 | ||
FROM debian:bookworm-20241223 AS build | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl | ||
WORKDIR /app | ||
RUN curl -fsSL -o /app/protoc-gen-connect-kotlin.jar https://repo1.maven.org/maven2/com/connectrpc/protoc-gen-connect-kotlin/0.7.2/protoc-gen-connect-kotlin-0.7.2.jar | ||
|
||
FROM gcr.io/distroless/java21-debian12:latest@sha256:903d5ad227a4afff8a207cd25c580ed059cc4006bb390eae65fb0361fc9724c3 as base | ||
|
||
FROM scratch | ||
COPY --from=base --link / / | ||
COPY --from=build --link --chmod=0755 --chown=root:root /app/protoc-gen-connect-kotlin.jar . | ||
USER nobody | ||
ENTRYPOINT [ "/usr/bin/java", "-jar", "/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,29 @@ | ||
version: v1 | ||
name: buf.build/connectrpc/kotlin | ||
plugin_version: v0.7.2 | ||
source_url: https://github.com/connectrpc/connect-kotlin | ||
integration_guide_url: https://connectrpc.com/docs/kotlin/getting-started | ||
description: Idiomatic gRPC & Connect RPCs for Kotlin. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/kotlin:v29.2 | ||
output_languages: | ||
- kotlin | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/connectrpc/connect-kotlin/blob/v0.7.2/LICENSE | ||
registry: | ||
opts: | ||
- generateCallbackMethods=true | ||
maven: | ||
compiler: | ||
kotlin: | ||
version: 1.8.22 | ||
deps: | ||
- com.connectrpc:connect-kotlin:0.7.2 | ||
- com.connectrpc:connect-kotlin-google-java-ext:0.7.2 | ||
- com.connectrpc:connect-kotlin-okhttp:0.7.2 | ||
additional_runtimes: | ||
- name: lite | ||
deps: | ||
- com.connectrpc:connect-kotlin:0.7.2 | ||
- com.connectrpc:connect-kotlin-google-javalite-ext:0.7.2 | ||
- com.connectrpc:connect-kotlin-okhttp:0.7.2 |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/connectrpc/kotlin/v0.7.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:jZozX+zN6UUwiUu38R4IG3BD2PFi7novwzYovV5V5mY= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/connectrpc/kotlin/v0.7.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:qI/BZM1TvMxo1xA+W5Y+h5jGfuIHe2aFsVRriNpB/3M= |