-
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, rr-server-php, and ts-proto plugins (#905)
- Loading branch information
1 parent
8aa7396
commit 3d67bba
Showing
17 changed files
with
276 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
plugins/community/roadrunner-server-php-grpc/v4.5.7/.dockerignore
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 |
13 changes: 13 additions & 0 deletions
13
plugins/community/roadrunner-server-php-grpc/v4.5.7/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,13 @@ | ||
# syntax=docker/dockerfile:1.6 | ||
FROM golang:1.21.4-bullseye AS build | ||
RUN git clone --depth=1 --branch v4.5.7 https://github.com/roadrunner-server/grpc.git | ||
RUN --mount=type=cache,target=/go/pkg/mod \ | ||
cd grpc/protoc_plugins/protoc-gen-php-grpc && \ | ||
CGO_ENABLED=0 \ | ||
go install -ldflags="-s -w" -trimpath | ||
|
||
FROM scratch | ||
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd | ||
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-php-grpc / | ||
USER nobody | ||
ENTRYPOINT [ "/protoc-gen-php-grpc" ] |
11 changes: 11 additions & 0 deletions
11
plugins/community/roadrunner-server-php-grpc/v4.5.7/buf.plugin.yaml
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/community/roadrunner-server-php-grpc | ||
plugin_version: v4.5.7 | ||
source_url: https://github.com/roadrunner-server/grpc | ||
description: Generates code for the PHP RoadRunner application server. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/php:v25.0 | ||
spdx_license_id: MIT | ||
license_url: https://github.com/roadrunner-server/grpc/blob/v4.5.7/LICENSE | ||
output_languages: | ||
- php |
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,3 @@ | ||
* | ||
!Dockerfile | ||
!package*.json |
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.6 | ||
FROM node:20.9.0-alpine3.18 AS build | ||
WORKDIR /app | ||
COPY --link package*.json . | ||
RUN npm ci | ||
RUN sed -i -e 's|/usr/bin/env node|/nodejs/bin/node|g' /app/node_modules/ts-proto/protoc-gen-ts_proto | ||
|
||
FROM gcr.io/distroless/nodejs20-debian12 | ||
COPY --link --from=build /app /app | ||
USER nobody | ||
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-ts_proto" ] |
10 changes: 10 additions & 0 deletions
10
plugins/community/stephenh-ts-proto/v1.164.0/buf.plugin.yaml
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,10 @@ | ||
version: v1 | ||
name: buf.build/community/stephenh-ts-proto | ||
plugin_version: v1.164.0 | ||
source_url: https://github.com/stephenh/ts-proto | ||
integration_guide_url: https://github.com/stephenh/ts-proto#quickstart | ||
description: An idiomatic protobuf generator for TypeScript. | ||
output_languages: | ||
- typescript | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/stephenh/ts-proto/blob/v1.164.0/LICENSE |
171 changes: 171 additions & 0 deletions
171
plugins/community/stephenh-ts-proto/v1.164.0/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 @@ | ||
{ | ||
"name": "plugins-stephenh-ts-proto", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"ts-proto": "1.164.0" | ||
} | ||
} |
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 debian:bullseye-20231030 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.3.1/protoc-gen-connect-kotlin-0.3.1.jar | ||
|
||
FROM gcr.io/distroless/java17-debian11 | ||
WORKDIR /app | ||
COPY --from=build /app/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,29 @@ | ||
version: v1 | ||
name: buf.build/connectrpc/kotlin | ||
plugin_version: v0.3.1 | ||
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:v25.0 | ||
output_languages: | ||
- kotlin | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/connectrpc/connect-kotlin/blob/v0.3.1/LICENSE | ||
registry: | ||
opts: | ||
- generateCallbackMethods=true | ||
maven: | ||
compiler: | ||
kotlin: | ||
version: 1.8.22 | ||
deps: | ||
- com.connectrpc:connect-kotlin:0.3.1 | ||
- com.connectrpc:connect-kotlin-google-java-ext:0.3.1 | ||
- com.connectrpc:connect-kotlin-okhttp:0.3.1 | ||
additional_runtimes: | ||
- name: lite | ||
deps: | ||
- com.connectrpc:connect-kotlin:0.3.1 | ||
- com.connectrpc:connect-kotlin-google-javalite-ext:0.3.1 | ||
- com.connectrpc:connect-kotlin-okhttp:0.3.1 |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.7/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:jT7gKL/t3iAPRsfXcC8b24F5IdSxtcuyuhD8yvmGRiA= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.7/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:7bA/GKq0K0btx4JnO+NSpYBkPfz0oSLjz+Ddv/NYe/A= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/stephenh-ts-proto/v1.164.0/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:c2bL6MBuG1NJgUtCaESfyh0lhyWi/JmkenKns7OfSYQ= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/stephenh-ts-proto/v1.164.0/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:aXVOiLAf7KA+JIaw/4CnnKA+5iDw6fQE9eS8/BVYejU= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/connectrpc/kotlin/v0.3.1/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:W/LFoLpNVeZGRBkGun6ZBwH29/BAZurvzVVo79GKrOE= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/connectrpc/kotlin/v0.3.1/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:8SHtQVVxJtH/0voLCE4rQxWI4Fog2R556Isppm+4Csw= |