Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ python.toolchain(
python_version = "3.11",
)

bazel_dep(name = "grpc", version = "1.81.0")
bazel_dep(name = "grpc", version = "1.81.1")
bazel_dep(name = "googleapis", version = "0.0.0-20260525-ef19b7b7")
bazel_dep(name = "googleapis-cc", version = "1.1.5")
bazel_dep(name = "googleapis-grpc-cc", version = "1.1.5")
6 changes: 3 additions & 3 deletions bazel/workspace0.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ def gl_cpp_workspace0(name = None):
http_archive,
name = "grpc",
urls = [
"https://github.com/grpc/grpc/archive/v1.74.1.tar.gz",
"https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz",
],
repo_mapping = {
"@com_google_absl": "@abseil-cpp",
"@com_github_grpc_grpc": "@grpc",
},
sha256 = "7bf97c11cf3808d650a3a025bbf9c5f922c844a590826285067765dfd055d228",
strip_prefix = "grpc-1.74.1",
sha256 = "7c91601663de3363887c57df1a4806f6f0cd2c7c4e6b208aca398496d014f7ee",
strip_prefix = "grpc-1.82.0-pre1",
Comment on lines +212 to +219

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

There is a version mismatch in this pull request: MODULE.bazel is being updated to the stable 1.81.1 release, whereas bazel/workspace0.bzl, the Dockerfiles, and the documentation are being updated to the pre-release 1.82.0-pre1 version.

To ensure consistency and avoid using pre-release versions in production/main branch builds, please align all gRPC references to the stable 1.81.1 release (and update the corresponding SHA256 hash here).

)

native.bind(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability and adhere to the repository's general rules, use an ARG to define the gRPC version instead of hardcoding it in the curl command. This makes it easier to update the version across multiple Dockerfiles in the future.

Additionally, please ensure the version is aligned with the stable 1.81.1 release used in MODULE.bazel rather than the pre-release 1.82.0-pre1.

ARG GRPC_VERSION=1.81.1
RUN curl -fsSL https://github.com/grpc/grpc/archive/v${GRPC_VERSION}.tar.gz | \
References
  1. In Dockerfiles, use ARG to define version strings that are duplicated across multiple files to improve maintainability.

tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/demo-fedora.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
# ```bash
WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/demo-opensuse-leap.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/demo-rockylinux-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=17 \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/demo-ubuntu-24.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/demo-ubuntu-jammy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
# double free issue in order to reduce flakes.
WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.81.0.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.81.0.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=20 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz

WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.81.0.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
2 changes: 1 addition & 1 deletion ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.81.0.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.81.0.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.81.0.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
14 changes: 7 additions & 7 deletions doc/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ sudo ldconfig
```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
sudo dnf makecache && sudo dnf install -y c-ares-devel re2-devel
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -487,7 +487,7 @@ sudo ldconfig

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down Expand Up @@ -658,7 +658,7 @@ sudo ldconfig

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down Expand Up @@ -761,7 +761,7 @@ Platform proto files. We install it using:

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down Expand Up @@ -973,7 +973,7 @@ sudo ldconfig

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down Expand Up @@ -1108,7 +1108,7 @@ sudo ldconfig

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
Expand Down Expand Up @@ -1291,7 +1291,7 @@ install it using:

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.71.2.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.82.0-pre1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=17 \
Expand Down
Loading