-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add roadrunner-server php-grpc plugin (#656)
Fixes #655.
- Loading branch information
Showing
6 changed files
with
30 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,4 @@ | ||
source: | ||
github: | ||
owner: roadrunner-server | ||
repository: grpc |
2 changes: 2 additions & 0 deletions
2
plugins/community/roadrunner-server-php-grpc/v4.3.0/.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 |
11 changes: 11 additions & 0 deletions
11
plugins/community/roadrunner-server-php-grpc/v4.3.0/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 golang:1.20.6-bullseye AS build | ||
RUN --mount=type=cache,target=/go/pkg/mod \ | ||
CGO_ENABLED=0 \ | ||
go install -ldflags="-s -w" -trimpath github.com/roadrunner-server/grpc/protoc_plugins/v4/[email protected] | ||
|
||
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.3.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,11 @@ | ||
version: v1 | ||
name: buf.build/community/roadrunner-server-php-grpc | ||
plugin_version: v4.3.0 | ||
source_url: https://github.com/roadrunner-server/grpc | ||
description: Generates code for the PHP RoadRunner application server. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/php:v23.4 | ||
spdx_license_id: MIT | ||
license_url: https://github.com/roadrunner-server/grpc/blob/v4.3.0/LICENSE | ||
output_languages: | ||
- php |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.3.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:jT7gKL/t3iAPRsfXcC8b24F5IdSxtcuyuhD8yvmGRiA= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.3.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:7bA/GKq0K0btx4JnO+NSpYBkPfz0oSLjz+Ddv/NYe/A= |