diff --git a/bazel/workspace0.bzl b/bazel/workspace0.bzl index db38e4f3f13b6..b842a0e04f503 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 caec62146d2d3..9bb4771c0f0d5 100644 --- a/ci/cloudbuild/dockerfiles/fedora-cmake-quickstart.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-cmake-quickstart.Dockerfile @@ -115,7 +115,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 24ba5b3d3b5c5..0e2e3c34e6528 100644 --- a/ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile @@ -115,7 +115,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 d37e3f4d07b13..1e26688274912 100644 --- a/ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile @@ -105,7 +105,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/fedora-openssl-4.Dockerfile b/ci/cloudbuild/dockerfiles/fedora-openssl-4.Dockerfile index 08de84bcb690c..00eb312bbac98 100644 --- a/ci/cloudbuild/dockerfiles/fedora-openssl-4.Dockerfile +++ b/ci/cloudbuild/dockerfiles/fedora-openssl-4.Dockerfile @@ -127,7 +127,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/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 1dfee6802feb1..3c8b97fad5027 100644 --- a/ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile +++ b/ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile @@ -92,7 +92,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 42195145e6c05..7a03b942edc69 100644 --- a/ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile +++ b/ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile @@ -91,7 +91,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" \