Skip to content

[CI] Update debian-based docker images to use cmake 3.25. - #42795

Closed
yuanweiz wants to merge 4 commits into
grpc:masterfrom
yuanweiz:cmake-3.25-dev
Closed

yuanweiz wants to merge 4 commits into
grpc:masterfrom
yuanweiz:cmake-3.25-dev

Conversation

@yuanweiz

@yuanweiz yuanweiz commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

The OSS policy states we should support cmake >= 3.22. Some of our dependencies (e.g. BoringSSL) also bumped their minimum required cmake version to 3.22, presumably to comply with such policy.

The default cmake version comes with Debian 11 (bullseye) is 3.18, and bullseye-backports has 3.25.

@yuanweiz yuanweiz added the release notes: no Indicates if PR should not be in release notes label Jun 25, 2026
@yuanweiz yuanweiz changed the title Cmake 3.25 dev Update debian-based docker images to use cmake >= 3.25 Jun 26, 2026
@yuanweiz yuanweiz changed the title Update debian-based docker images to use cmake >= 3.25 [CI] Update debian-based docker images to use cmake >= 3.25. Jun 26, 2026
@yuanweiz
yuanweiz marked this pull request as ready for review June 29, 2026 17:44
@yuanweiz
yuanweiz requested a review from sergiitk as a code owner June 29, 2026 17:44
@yuanweiz
yuanweiz marked this pull request as draft July 6, 2026 20:52
yuanweiz added 3 commits July 23, 2026 13:26
commit 27a4d33f1e2fd9daf7dbf9eebec382491e19c1ec
Author: Weizhe Yuan <[email protected]>
Date:   Thu Jul 23 13:25:57 2026 -0700

    artifact_gen

commit f7b1c5709f4dff09c2e14edea71c0b17e68e4cb0
Author: Weizhe Yuan <[email protected]>
Date:   Thu Jul 23 13:24:58 2026 -0700

    run script
@yuanweiz
yuanweiz marked this pull request as ready for review July 23, 2026 22:53
@yuanweiz yuanweiz changed the title [CI] Update debian-based docker images to use cmake >= 3.25. [CI] Update debian-based docker images to use cmake 3.25. Jul 23, 2026
@@ -0,0 +1,7 @@
#=================
# Install cmake from bullseye-backports
# Note that this step should be only used for Debian 11 (bullseye) images.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You included this into ruby_debian11_x64 and python_debian11_default_arm64, but not into ruby_debian11_arm64 and python_debian11_default_x64 - was this intentional? Check if they remain on CMake 3.18.

grohman-hub added a commit to grohman-hub/grpc that referenced this pull request Jul 27, 2026
* upstream/master:
  [PSM Interop] : add cleanup for the orphaned resources left for SPIFFE cluster. (grpc#43038)
  [PH2][Trivial] Build (grpc#43069)
  [PH2][Bug][Client] Bug fix
  [Security] Plumb SSL key exchange group to auth context. (grpc#42917)
  [CI] Update debian-based docker images to use cmake 3.25. (grpc#42795)
  [xDS e2e tests] clean up API for verifying server status notification changes (grpc#43052)
  Clamp PosixEndpointImpl adaptive read target to max read chunk size (grpc#42234)
  [tls] Move to grpc_core::PemKeyCertPair and grpc_core::KeyCertPairsOrSelector (grpc#42992)
  [build] Add grpc-proto submodule (grpc#43035)
  fix detecting the number of online CPU (grpc#41585)
  [core][promise-based-filter] Fix for metadata nullptr crash on repoll (grpc#43037)
  skip tls1.3 and <1.1.1 in telemetry test (grpc#43042)
grohman-hub pushed a commit to grohman-hub/grpc that referenced this pull request Jul 28, 2026
The OSS policy [states](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md) we should support cmake >= 3.22. Some of our dependencies (e.g. BoringSSL) also bumped their minimum required cmake version to 3.22, presumably to comply with such policy.

The default cmake version comes with Debian 11 (bullseye) is 3.18, and bullseye-backports has 3.25.

Closes grpc#42795

COPYBARA_INTEGRATE_REVIEW=grpc#42795 from yuanweiz:cmake-3.25-dev 8ba71af
PiperOrigin-RevId: 953419748
grohman-hub added a commit to grohman-hub/grpc that referenced this pull request Jul 28, 2026
…thon_apic_clients

* upstream/master:
  [PSM Interop] : add cleanup for the orphaned resources left for SPIFFE cluster. (grpc#43038)
  [PH2][Trivial] Build (grpc#43069)
  [PH2][Bug][Client] Bug fix
  [Security] Plumb SSL key exchange group to auth context. (grpc#42917)
  [CI] Update debian-based docker images to use cmake 3.25. (grpc#42795)
  [xDS e2e tests] clean up API for verifying server status notification changes (grpc#43052)
  Clamp PosixEndpointImpl adaptive read target to max read chunk size (grpc#42234)
  [tls] Move to grpc_core::PemKeyCertPair and grpc_core::KeyCertPairsOrSelector (grpc#42992)
copybara-service Bot pushed a commit that referenced this pull request Aug 13, 2026
Follow up of #42795. The previous change only updated `Dockerfile`s based on `debian:11`, but missed these base images:

* silkeh/clang:14-bullseye
* gcc:10
* python:3.10-bullseye

Cmake variable `_gRPC_INSTALL_SUPPORTED_FROM_MODULE` is always TRUE for version >=3.13 so we can remove it safely.

Also update CMakeLists.txt to enforces use of cmake 3.22 or higher per OSS [policy](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md#compilers-tools-build-systems). This should reduce the chance of missing updates in our dockerfiles.

Closes #41997

COPYBARA_INTEGRATE_REVIEW=#41997 from yuanweiz:cmake-3.25 3992786
PiperOrigin-RevId: 964156025
asheshvidyut pushed a commit to PeterZhizhin/grpc that referenced this pull request Nov 12, 2026
The OSS policy [states](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md) we should support cmake >= 3.22. Some of our dependencies (e.g. BoringSSL) also bumped their minimum required cmake version to 3.22, presumably to comply with such policy.

The default cmake version comes with Debian 11 (bullseye) is 3.18, and bullseye-backports has 3.25.

Closes grpc#42795

COPYBARA_INTEGRATE_REVIEW=grpc#42795 from yuanweiz:cmake-3.25-dev 8ba71af
PiperOrigin-RevId: 953419748
asheshvidyut pushed a commit to PeterZhizhin/grpc that referenced this pull request Nov 12, 2026
Follow up of grpc#42795. The previous change only updated `Dockerfile`s based on `debian:11`, but missed these base images:

* silkeh/clang:14-bullseye
* gcc:10
* python:3.10-bullseye

Cmake variable `_gRPC_INSTALL_SUPPORTED_FROM_MODULE` is always TRUE for version >=3.13 so we can remove it safely.

Also update CMakeLists.txt to enforces use of cmake 3.22 or higher per OSS [policy](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md#compilers-tools-build-systems). This should reduce the chance of missing updates in our dockerfiles.

Closes grpc#41997

COPYBARA_INTEGRATE_REVIEW=grpc#41997 from yuanweiz:cmake-3.25 3992786
PiperOrigin-RevId: 964156025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants