Skip to content

Commit 133efc4

Browse files
authored
detected new plugin versions
1 parent 86da062 commit 133efc4

File tree

25 files changed

+204
-0
lines changed

25 files changed

+204
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# syntax=docker/dockerfile:1.6
2+
FROM golang:1.21.3-bullseye AS build
3+
RUN git clone --depth=1 --branch v4.5.5 https://github.com/roadrunner-server/grpc.git
4+
RUN --mount=type=cache,target=/go/pkg/mod \
5+
cd grpc/protoc_plugins/protoc-gen-php-grpc && \
6+
CGO_ENABLED=0 \
7+
go install -ldflags="-s -w" -trimpath
8+
9+
FROM scratch
10+
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
11+
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-php-grpc /
12+
USER nobody
13+
ENTRYPOINT [ "/protoc-gen-php-grpc" ]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: v1
2+
name: buf.build/community/roadrunner-server-php-grpc
3+
plugin_version: v4.5.5
4+
source_url: https://github.com/roadrunner-server/grpc
5+
description: Generates code for the PHP RoadRunner application server.
6+
deps:
7+
- plugin: buf.build/protocolbuffers/php:v24.4
8+
spdx_license_id: MIT
9+
license_url: https://github.com/roadrunner-server/grpc/blob/v4.5.5/LICENSE
10+
output_languages:
11+
- php
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# syntax=docker/dockerfile:1.4
2+
FROM debian:bullseye-20231009 AS build
3+
RUN apt-get update \
4+
&& apt-get install -y curl
5+
WORKDIR /app
6+
RUN curl -fsSL -o /app/protoc-gen-connect-kotlin.jar https://repo1.maven.org/maven2/com/connectrpc/protoc-gen-connect-kotlin/0.3.0/protoc-gen-connect-kotlin-0.3.0.jar
7+
8+
FROM gcr.io/distroless/java17-debian11
9+
WORKDIR /app
10+
COPY --from=build /app/protoc-gen-connect-kotlin.jar /app
11+
CMD ["/app/protoc-gen-connect-kotlin.jar"]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: v1
2+
name: buf.build/connectrpc/kotlin
3+
plugin_version: v0.3.0
4+
source_url: https://github.com/connectrpc/connect-kotlin
5+
description: Idiomatic gRPC & Connect RPCs for Kotlin.
6+
deps:
7+
- plugin: buf.build/protocolbuffers/kotlin:v24.3
8+
output_languages:
9+
- kotlin
10+
spdx_license_id: Apache-2.0
11+
license_url: https://github.com/connectrpc/connect-kotlin/blob/v0.3.0/LICENSE
12+
registry:
13+
opts:
14+
- generateCallbackMethods=true
15+
maven:
16+
compiler:
17+
kotlin:
18+
version: 1.8.22
19+
deps:
20+
- com.connectrpc:connect-kotlin:0.3.0
21+
- com.connectrpc:connect-kotlin-google-java-ext:0.3.0
22+
- com.connectrpc:connect-kotlin-okhttp:0.3.0
23+
additional_runtimes:
24+
- name: lite
25+
deps:
26+
- com.connectrpc:connect-kotlin:0.3.0
27+
- com.connectrpc:connect-kotlin-google-javalite-ext:0.3.0
28+
- com.connectrpc:connect-kotlin-okhttp:0.3.0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# syntax=docker/dockerfile:1.6
2+
FROM swift:5.9.1-focal AS build
3+
4+
WORKDIR /app
5+
RUN git clone --depth 1 --branch 0.9.0 https://github.com/connectrpc/connect-swift
6+
WORKDIR /app/connect-swift
7+
RUN swift build -c release --product protoc-gen-connect-swift-mocks --static-swift-stdlib -Xlinker -s
8+
9+
FROM gcr.io/distroless/cc-debian11
10+
COPY --from=build --link /app/connect-swift/.build/release/protoc-gen-connect-swift-mocks .
11+
USER nobody
12+
ENTRYPOINT [ "/protoc-gen-connect-swift-mocks" ]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: v1
2+
name: buf.build/connectrpc/swift-mocks
3+
plugin_version: v0.9.0
4+
source_url: https://github.com/connectrpc/connect-swift
5+
description: Generates mocks that are compatible with Connect-Swift clients.
6+
deps:
7+
- plugin: buf.build/apple/swift:v1.23.0
8+
output_languages:
9+
- swift
10+
registry:
11+
swift:
12+
deps:
13+
- source: https://github.com/connectrpc/connect-swift.git
14+
package: connect-swift
15+
products: [ ConnectMocks ]
16+
swift_versions: [ ".v5" ]
17+
version: 0.9.0
18+
platforms:
19+
macos: v10_15
20+
ios: v12
21+
tvos: v13
22+
opts:
23+
- Visibility=Public
24+
- FileNaming=PathToUnderscores
25+
spdx_license_id: Apache-2.0
26+
license_url: https://github.com/connectrpc/connect-swift/blob/0.9.0/LICENSE
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile

0 commit comments

Comments
 (0)