-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add connect-web v0.7.0 and grpc v1.52.0 (#349)
New plugin versions found. Please review. --------- Co-authored-by: pkwarren <[email protected]> Co-authored-by: Mike Fridman <[email protected]>
- Loading branch information
1 parent
003d7c7
commit ad94e08
Showing
37 changed files
with
418 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,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.4 | ||
FROM node:18.14.0-alpine3.17 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/@bufbuild/protoc-gen-connect-web/bin/protoc-gen-connect-web | ||
|
||
FROM gcr.io/distroless/nodejs18-debian11 | ||
COPY --link --from=build /app /app | ||
USER nobody | ||
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-connect-web" ] |
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,19 @@ | ||
version: v1 | ||
name: buf.build/bufbuild/connect-web | ||
plugin_version: v0.7.0 | ||
source_url: https://github.com/bufbuild/connect-web | ||
description: Generates client stubs for calling Connect and gRPC-Web services from a web browser. | ||
deps: | ||
- plugin: buf.build/bufbuild/es:v1.0.0 | ||
output_languages: | ||
- javascript | ||
- typescript | ||
registry: | ||
npm: | ||
import_style: module | ||
rewrite_import_path_suffix: connectweb.js | ||
deps: | ||
- package: '@bufbuild/connect-web' | ||
version: ^0.7.0 | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/bufbuild/connect-web/blob/v0.7.0/LICENSE |
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-bufbuild-connect-web", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@bufbuild/protoc-gen-connect-web": "0.7.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,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230202 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.52.0 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_cpp_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_cpp_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_cpp_plugin"] |
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/cpp | ||
plugin_version: v1.52.0 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates C++ client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/cpp:v21.12 | ||
output_languages: | ||
- cpp | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.52.0/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,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230202 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.52.0 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_csharp_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_csharp_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_csharp_plugin"] |
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/csharp | ||
plugin_version: v1.52.0 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates C# client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/csharp:v21.12 | ||
output_languages: | ||
- csharp | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.52.0/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,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230202 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.52.0 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_objective_c_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_objective_c_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_objective_c_plugin"] |
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/objc | ||
plugin_version: v1.52.0 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates Objective-C client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/objc:v21.12 | ||
output_languages: | ||
- objective_c | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.52.0/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,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230202 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.52.0 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_php_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_php_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_php_plugin"] |
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/php | ||
plugin_version: v1.52.0 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates PHP client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/php:v21.12 | ||
output_languages: | ||
- php | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.52.0/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,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230202 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.52.0 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_python_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_python_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_python_plugin"] |
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/python | ||
plugin_version: v1.52.0 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates Python client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/python:v21.12 | ||
output_languages: | ||
- python | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.52.0/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 |
Oops, something went wrong.