diff --git a/bazel/workspace0.bzl b/bazel/workspace0.bzl index 7712233406bed..0bb806d4ae6b4 100644 --- a/bazel/workspace0.bzl +++ b/bazel/workspace0.bzl @@ -125,10 +125,10 @@ def gl_cpp_workspace0(name = None): http_archive, name = "googletest", urls = [ - "https://github.com/google/googletest/archive/v1.17.0.tar.gz", + "https://github.com/google/googletest/archive/v1.18.0.tar.gz", ], - sha256 = "65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c", - strip_prefix = "googletest-1.17.0", + sha256 = "6e3191c1455468b3fc35a417fb565c1c5071aee1b7e7f85e30cf48a98d37d8b5", + strip_prefix = "googletest-1.18.0", ) # Load the googleapis dependency. diff --git a/ci/cloudbuild/dockerfiles/fedora-cmake-quickstart.Dockerfile b/ci/cloudbuild/dockerfiles/fedora-cmake-quickstart.Dockerfile index b67590ba2c8b9..7c6ee4e554854 100644 --- a/ci/cloudbuild/dockerfiles/fedora-cmake-quickstart.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-cmake-quickstart.Dockerfile @@ -113,7 +113,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | ldconfig && cd /var/tmp && rm -fr build WORKDIR /var/tmp/build -RUN curl -fsSL https://github.com/google/googletest/archive/v1.17.0.tar.gz | \ +RUN curl -fsSL https://github.com/google/googletest/archive/v1.18.0.tar.gz | \ tar -xzf - --strip-components=1 && \ cmake \ -DCMAKE_BUILD_TYPE="Release" \ diff --git a/ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile b/ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile index 4586ae4dfe4ff..f015bd58771b5 100644 --- a/ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile @@ -113,7 +113,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | ldconfig && cd /var/tmp && rm -fr build WORKDIR /var/tmp/build -RUN curl -fsSL https://github.com/google/googletest/archive/v1.17.0.tar.gz | \ +RUN curl -fsSL https://github.com/google/googletest/archive/v1.18.0.tar.gz | \ tar -xzf - --strip-components=1 && \ cmake \ -DCMAKE_BUILD_TYPE="Release" \ diff --git a/ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile b/ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile index 2a9a48a029cf1..e12ac4cd62d0a 100644 --- a/ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile @@ -103,7 +103,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | cd /var/tmp && rm -fr build WORKDIR /var/tmp/build -RUN curl -fsSL https://github.com/google/googletest/archive/v1.17.0.tar.gz | \ +RUN curl -fsSL https://github.com/google/googletest/archive/v1.18.0.tar.gz | \ tar -xzf - --strip-components=1 && \ cmake \ -DCMAKE_CXX_STANDARD=20 \ diff --git a/ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile b/ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile index 28a5f9d5ed52a..57065d9fab901 100644 --- a/ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile +++ b/ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile @@ -61,7 +61,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-11-05.tar.gz | \ # Install googletest, remove the downloaded files and the temporary artifacts # after a successful build to keep the image smaller (and with fewer layers) WORKDIR /var/tmp/build -RUN curl -fsSL https://github.com/google/googletest/archive/v1.17.0.tar.gz | \ +RUN curl -fsSL https://github.com/google/googletest/archive/v1.18.0.tar.gz | \ tar -xzf - --strip-components=1 && \ cmake \ -DCMAKE_BUILD_TYPE="Release" \ diff --git a/ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile b/ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile index a6d9cf626dc56..da80dd386ac0b 100644 --- a/ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile +++ b/ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile @@ -90,7 +90,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | cd /var/tmp && rm -fr build WORKDIR /var/tmp/build/googletest -RUN curl -fsSL https://github.com/google/googletest/archive/v1.17.0.tar.gz | \ +RUN curl -fsSL https://github.com/google/googletest/archive/v1.18.0.tar.gz | \ tar -xzf - --strip-components=1 && \ cmake \ -DCMAKE_BUILD_TYPE="Release" \ diff --git a/ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile b/ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile index f88c5be8f119c..e89b6bee92134 100644 --- a/ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile +++ b/ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile @@ -89,7 +89,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | cd /var/tmp && rm -fr build WORKDIR /var/tmp/build/googletest -RUN curl -fsSL https://github.com/google/googletest/archive/v1.17.0.tar.gz | \ +RUN curl -fsSL https://github.com/google/googletest/archive/v1.18.0.tar.gz | \ tar -xzf - --strip-components=1 && \ cmake \ -DCMAKE_BUILD_TYPE="Release" \