ci: update RBE toolchain version from ubuntu2204 to ubuntu2404 (#3778) RBE has dropped support for older platform Fixing https://buildkite.com/bazel/rules-python-python/builds/15434#019e2c2c-c708-4c20-bc05-a9a5b1215d2f (cherry picked from commit 32527de8e743b4c32b44a18595d05c78e03e593f)
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 7c5c042..4727a82 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml
@@ -292,7 +292,7 @@ <<: *minimum_supported_version <<: *reusable_config name: "RBE: Ubuntu, minimum Bazel" - platform: rbe_ubuntu2204 + platform: rbe_ubuntu2404 build_flags: - "--experimental_repository_cache_hardlinks=false" # BazelCI sets --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1, @@ -311,7 +311,7 @@ rbe: <<: *reusable_config name: "RBE: Ubuntu" - platform: rbe_ubuntu2204 + platform: rbe_ubuntu2404 # TODO @aignas 2024-12-11: get the RBE working in CI for bazel 8.0 # See https://github.com/bazelbuild/rules_python/issues/2499 bazel: 8.x
diff --git a/MODULE.bazel b/MODULE.bazel index c50e3dc..1a86225 100644 --- a/MODULE.bazel +++ b/MODULE.bazel
@@ -6,7 +6,7 @@ bazel_dep(name = "bazel_features", version = "1.21.0") bazel_dep(name = "bazel_skylib", version = "1.8.2") -bazel_dep(name = "rules_cc", version = "0.1.5") +bazel_dep(name = "rules_cc", version = "0.2.17") bazel_dep(name = "platforms", version = "0.0.11") # Those are loaded only when using py_proto_library
diff --git a/python/private/internal_dev_deps.bzl b/python/private/internal_dev_deps.bzl index fbdd571..9e59b26 100644 --- a/python/private/internal_dev_deps.bzl +++ b/python/private/internal_dev_deps.bzl
@@ -26,7 +26,7 @@ # otherwise refer to RBE docs. rbe_preconfig( name = "buildkite_config", - toolchain = "ubuntu2204", + toolchain = "ubuntu2404", ) runtime_env_repo(name = "rules_python_runtime_env_tc_info")