Skip to content

Commit eeb517d

Browse files
committed
chore: remove grpc-rust
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent bb06511 commit eeb517d

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

Dockerfile

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ARG GO_IMAGE_VERSION=1.24.4-alpine3.22
88
ARG GOOGLE_API_REV=8b80b1498e7016be58f6c09d0a86ddf0ea37feae
99
# renovate: datasource=github-releases depName=grpc-gateway packageName=grpc-ecosystem/grpc-gateway
1010
ARG GRPC_GATEWAY_VERSION=v2.27.3
11-
# renovate: datasource=github-tags depName=grpc-rust packageName=stepancheg/grpc-rust
12-
ARG GRPC_RUST_VERSION=v0.8.3
1311
# renovate: datasource=github-releases depName=grpc-web packageName=grpc/grpc-web
1412
ARG GRPC_WEB_VERSION=1.5.0
1513
ARG NODE_IMAGE_VERSION=22.21.1-alpine3.22
@@ -45,7 +43,7 @@ ARG PROTOC_GEN_NANOPB_VERSION=0.4.9.1
4543
# renovate: datasource=github-releases depName=protoc-gen-openapi packageName=solo-io/protoc-gen-openapi
4644
ARG PROTOC_GEN_OPENAPI_VERSION=v0.3.1
4745
ARG PROTOC_GEN_PBANDK_VERSION=0.16.0
48-
# renovate: datasource=github-tags depName=grpc-rust packageName=stepancheg/rust-protobuf
46+
# renovate: datasource=github-tags depName=rust-protobuf packageName=stepancheg/rust-protobuf
4947
ARG PROTOC_GEN_RUST_VERSION=v3.7.2
5048
# renovate: datasource=github-releases depName=protoc-gen-scala packageName=scalapb/ScalaPB
5149
ARG PROTOC_GEN_SCALA_VERSION=v0.11.17
@@ -309,21 +307,6 @@ RUN install -D /rust-protobuf/target/$(xx-cargo --print-target-triple)/release/p
309307
RUN xx-verify /out/usr/bin/protoc-gen-rs
310308

311309

312-
FROM --platform=$BUILDPLATFORM rust_target AS grpc_rust
313-
RUN mkdir -p /grpc-rust
314-
ARG GRPC_RUST_VERSION
315-
RUN curl -sSL https://api.github.com/repos/stepancheg/grpc-rust/tarball/${GRPC_RUST_VERSION} | tar xz --strip 1 -C /grpc-rust
316-
WORKDIR /grpc-rust/grpc-compiler
317-
RUN --mount=type=cache,target=/root/.cargo/git/db \
318-
--mount=type=cache,target=/root/.cargo/registry/cache \
319-
--mount=type=cache,target=/root/.cargo/registry/index \
320-
cargo fetch
321-
ARG TARGETPLATFORM
322-
RUN xx-cargo --config profile.release.strip=true build --release
323-
RUN install -D /grpc-rust/target/$(xx-cargo --print-target-triple)/release/protoc-gen-rust-grpc /out/usr/bin/protoc-gen-rust-grpc
324-
RUN xx-verify /out/usr/bin/protoc-gen-rust-grpc
325-
326-
327310
FROM --platform=$BUILDPLATFORM swift:${SWIFT_IMAGE_VERSION} AS swift_target
328311
RUN apt-get update && \
329312
apt-get install -y curl
@@ -558,8 +541,7 @@ RUN ln -s /usr/bin/grpc_cpp_plugin /usr/bin/protoc-gen-grpc-cpp && \
558541
ln -s /usr/bin/grpc_php_plugin /usr/bin/protoc-gen-grpc-php && \
559542
ln -s /usr/bin/grpc_python_plugin /usr/bin/protoc-gen-grpc-python && \
560543
ln -s /usr/bin/grpc_ruby_plugin /usr/bin/protoc-gen-grpc-ruby && \
561-
ln -s /usr/bin/protoc-gen-go-grpc /usr/bin/protoc-gen-grpc-go && \
562-
ln -s /usr/bin/protoc-gen-rust-grpc /usr/bin/protoc-gen-grpc-rust
544+
ln -s /usr/bin/protoc-gen-go-grpc /usr/bin/protoc-gen-grpc-go
563545
COPY protoc-* /usr/bin
564546
RUN protoc-test
565547
ENTRYPOINT ["protoc-wrapper", "-I/usr/include"]

protoc-test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ PLUGINS=(
6161
[grpc-php_out]="--grpc-php_out=$OUTDIR Test/TestServiceClient.php"
6262
[grpc-python_out]="--grpc-python_out=$OUTDIR test_message_pb2_grpc.py"
6363
[grpc-ruby_out]="--grpc-ruby_out=$OUTDIR test_message_services_pb.rb"
64-
[grpc-rust_out]="--grpc-rust_out=$OUTDIR test_message_grpc.rs"
6564
[grpc-swift_out]="--grpc-swift_out=$OUTDIR test_message.grpc.swift"
6665
[grpc-web_out]="--grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUTDIR test_message_grpc_web_pb.js"
6766
[java_out]="--java_out=$OUTDIR test/TestMessageOuterClass.java"

0 commit comments

Comments
 (0)