Pin Ubuntu 26.04 images and switch Gerrit (#3040) Register the published Ubuntu 26.04 images from #3033 and switch Gerrit's native CI and RBE launcher to that platform. The image recipe installs OpenJDK 25. - Pin the base image's amd64 and arm64 manifests in `bazelci.py`, `digests.json`, and `setup-docker.sh`. - Register Kythe on amd64 only and add the native Ubuntu 26.04 platforms to smoke tests. - Preserve the existing smoke-test RBE entry and the default platform. Gerrit's remote worker image is selected in Gerrit's own `tools/remote/BUILD`; the corresponding Gerrit change is prepared separately. Validation: all 67 `bazelci_test` tests pass with only the emergency-announcement network fetch mocked. The unmodified suite has two DNS errors fetching that announcement. Platform expansion, digest-map consistency, and shell syntax checks pass. Digests match the registry responses supplied by the contributor; no Docker pull or remote build was performed in this environment. Hosted CI still needs to validate image pulls and the Gerrit build. Co-authored-by: Salma Samy <16399431+SalmaSamy@users.noreply.github.com>
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py index 136a196..bd981de 100755 --- a/buildkite/bazelci.py +++ b/buildkite/bazelci.py
@@ -406,6 +406,10 @@ "amd64": "sha256:4bc65868dcac6d63d5ecca1685c7a41e8549a5f38e041ff1f2edc8101cf213b8", "arm64": "sha256:5f75cef6a0dc845b1727f03ec4856fe17873e6ab3fd91648167df9cfcb612f6c", }, + "ubuntu2604": { + "amd64": "sha256:ead39b38a2f196ab7e972204ecc5edd5bcfef2940d41b20a56527aad2479396d", + "arm64": "sha256:869615166fe7e1fb4386e670b349fa5de70831dd11605638972ade51b3b37338", + }, "ubuntu2004-kythe": { "amd64": "sha256:3862183a7674064e7e36ab851166e5a20eaccb47c8dd7205354fc8de6a6be0e9", }, @@ -417,6 +421,9 @@ "amd64": "sha256:186b7bd1b9b65d59423550fa85c197bffbc207f2bdee05df81b4e38bbec07a9d", "arm64": "sha256:7e8d1e235dc5da1ad9527e772dd54236a98c2a57157151913e250c303291941e", }, + "ubuntu2604-kythe": { + "amd64": "sha256:70a168789ba5c3f400e5b63fbaafdd4fd083c392bd7f5aefc658b8cdd844125e", + }, "ubuntu2204-java17": { "amd64": "sha256:75a622ed24a18d1af44aa1e6ada0a55efaf6dbffd682ad83afa6432bcedfd3b2", "arm64": "sha256:3d77f0f05da01ad35a1338c2d97675917d95d45fd4be8778918c776f984c4587", @@ -587,6 +594,14 @@ "python": "python3", "queue": "arm64", }, + "ubuntu2604_arm64": { + "name": "Ubuntu 26.04 LTS ARM64", + "emoji-name": ":ubuntu: Ubuntu 26.04 LTS ARM64", + "publish_binary": [], + "docker-image": get_docker_image("ubuntu2604", is_arm64=True), + "python": "python3", + "queue": "arm64", + }, "kythe_ubuntu2004": { "name": "Kythe (Ubuntu 20.04 LTS)", "emoji-name": "Kythe (:ubuntu: Ubuntu 20.04 LTS)", @@ -608,6 +623,13 @@ "docker-image": get_docker_image("ubuntu2404-kythe"), "python": "python3", }, + "kythe_ubuntu2604": { + "name": "Kythe (Ubuntu 26.04 LTS)", + "emoji-name": "Kythe (:ubuntu: Ubuntu 26.04 LTS)", + "publish_binary": [], + "docker-image": get_docker_image("ubuntu2604-kythe"), + "python": "python3", + }, "ubuntu2204_java17": { "name": "Ubuntu 22.04 (OpenJDK 17, gcc 11.2.0)", "emoji-name": ":ubuntu: Ubuntu 22.04 (OpenJDK 17, gcc 11.2.0)", @@ -629,6 +651,13 @@ "docker-image": get_docker_image("ubuntu2404"), "python": "python3", }, + "ubuntu2604": { + "name": "Ubuntu 26.04", + "emoji-name": ":ubuntu: Ubuntu 26.04 LTS", + "publish_binary": [], + "docker-image": get_docker_image("ubuntu2604"), + "python": "python3", + }, "fedora39": { "name": "Fedora 39 (OpenJDK 17, gcc 13.1.1)", "emoji-name": ":fedora: Fedora 39 (OpenJDK 17, gcc 13.1.1)",
diff --git a/buildkite/digests.json b/buildkite/digests.json index 6fd2831..5a479dd 100644 --- a/buildkite/digests.json +++ b/buildkite/digests.json
@@ -55,6 +55,10 @@ "amd64": "sha256:4bc65868dcac6d63d5ecca1685c7a41e8549a5f38e041ff1f2edc8101cf213b8", "arm64": "sha256:5f75cef6a0dc845b1727f03ec4856fe17873e6ab3fd91648167df9cfcb612f6c" }, + "ubuntu2604": { + "amd64": "sha256:ead39b38a2f196ab7e972204ecc5edd5bcfef2940d41b20a56527aad2479396d", + "arm64": "sha256:869615166fe7e1fb4386e670b349fa5de70831dd11605638972ade51b3b37338" + }, "ubuntu2004-kythe": { "amd64": "sha256:3862183a7674064e7e36ab851166e5a20eaccb47c8dd7205354fc8de6a6be0e9" }, @@ -66,6 +70,9 @@ "amd64": "sha256:186b7bd1b9b65d59423550fa85c197bffbc207f2bdee05df81b4e38bbec07a9d", "arm64": "sha256:7e8d1e235dc5da1ad9527e772dd54236a98c2a57157151913e250c303291941e" }, + "ubuntu2604-kythe": { + "amd64": "sha256:70a168789ba5c3f400e5b63fbaafdd4fd083c392bd7f5aefc658b8cdd844125e" + }, "ubuntu2204-java17": { "amd64": "sha256:75a622ed24a18d1af44aa1e6ada0a55efaf6dbffd682ad83afa6432bcedfd3b2", "arm64": "sha256:3d77f0f05da01ad35a1338c2d97675917d95d45fd4be8778918c776f984c4587"
diff --git a/buildkite/setup-docker.sh b/buildkite/setup-docker.sh index bf760cc..1b165f3 100755 --- a/buildkite/setup-docker.sh +++ b/buildkite/setup-docker.sh
@@ -240,6 +240,7 @@ docker pull "gcr.io/bazel-public/ubuntu2204-java17@sha256:3d77f0f05da01ad35a1338c2d97675917d95d45fd4be8778918c776f984c4587" & docker pull "gcr.io/bazel-public/ubuntu2204@sha256:7efa0b902d648787c9c7995d1dd26672ce5bf53cefb1e6103d12e36672229997" & docker pull "gcr.io/bazel-public/ubuntu2404@sha256:5f75cef6a0dc845b1727f03ec4856fe17873e6ab3fd91648167df9cfcb612f6c" & + docker pull "gcr.io/bazel-public/ubuntu2604@sha256:869615166fe7e1fb4386e670b349fa5de70831dd11605638972ade51b3b37338" & else docker pull "gcr.io/bazel-public/rockylinux8@sha256:a3a3ab64e044487bb4f4de79c1d9c49fb0962c5df788ffb7214540af8e77ebc2" & docker pull "gcr.io/bazel-public/rockylinux8-java11@sha256:05f605f1eb3b1aecb9713057a4436a901929fcb8217b464806bb7603d2d0be49" & @@ -255,9 +256,11 @@ docker pull "gcr.io/bazel-public/ubuntu2004-kythe@sha256:3862183a7674064e7e36ab851166e5a20eaccb47c8dd7205354fc8de6a6be0e9" & docker pull "gcr.io/bazel-public/ubuntu2204-kythe@sha256:e7bee6f5437c7a3a6622a508be5000bf7cd92897d5fcb46d64afb0746673f876" & docker pull "gcr.io/bazel-public/ubuntu2404-kythe@sha256:186b7bd1b9b65d59423550fa85c197bffbc207f2bdee05df81b4e38bbec07a9d" & + docker pull "gcr.io/bazel-public/ubuntu2604-kythe@sha256:70a168789ba5c3f400e5b63fbaafdd4fd083c392bd7f5aefc658b8cdd844125e" & docker pull "gcr.io/bazel-public/ubuntu2204-java17@sha256:75a622ed24a18d1af44aa1e6ada0a55efaf6dbffd682ad83afa6432bcedfd3b2" & docker pull "gcr.io/bazel-public/ubuntu2204@sha256:a8fc286aaca55230a3c2dddd3a5311770e6f609fa31f53447866c3b3bfb74398" & docker pull "gcr.io/bazel-public/ubuntu2404@sha256:4bc65868dcac6d63d5ecca1685c7a41e8549a5f38e041ff1f2edc8101cf213b8" & + docker pull "gcr.io/bazel-public/ubuntu2604@sha256:ead39b38a2f196ab7e972204ecc5edd5bcfef2940d41b20a56527aad2479396d" & docker pull "gcr.io/bazel-public/fedora43-java25@sha256:36378b3c3c1f5b5f621bbf3160dc088ab7240fb0506d83253ae40d704b992323" & docker pull "gcr.io/bazel-public/fedora45-java25@sha256:014e13b0ece7446646a901afb6b69434b8a7e5945e74ff0a633aae00116d1a22" & fi
diff --git a/buildkite/update_docker_image_hashes.py b/buildkite/update_docker_image_hashes.py index 7941d84..207980c 100755 --- a/buildkite/update_docker_image_hashes.py +++ b/buildkite/update_docker_image_hashes.py
@@ -40,9 +40,11 @@ "ubuntu2004", "ubuntu2204", "ubuntu2404", + "ubuntu2604", "ubuntu2004-kythe", "ubuntu2204-kythe", "ubuntu2404-kythe", + "ubuntu2604-kythe", "ubuntu2204-java17", "fedora39-java17", "fedora40-java21",
diff --git a/pipelines/gerrit.yml b/pipelines/gerrit.yml index 08af44d..906b8b2 100644 --- a/pipelines/gerrit.yml +++ b/pipelines/gerrit.yml
@@ -8,7 +8,7 @@ - "--test_tag_filters=-git,-git-protocol-v2,-git-upload-archive,-ssh" test_targets: - "//..." - ubuntu2404: + ubuntu2604: build_targets: - "//:release" - "//:api" @@ -24,7 +24,7 @@ - "//..." rbe_gcp: # CI launcher image; Gerrit selects remote workers via --config=remote. - platform: rbe_ubuntu2404 + platform: rbe_ubuntu2604 build_flags: - "--config=remote" - "--remote_instance_name=projects/bazel-untrusted/instances/default_instance"
diff --git a/smoke_test/smoke_test.yml b/smoke_test/smoke_test.yml index e510a49..61f247b 100644 --- a/smoke_test/smoke_test.yml +++ b/smoke_test/smoke_test.yml
@@ -8,18 +8,21 @@ - fedora45 - kythe_ubuntu2204 - kythe_ubuntu2404 + - kythe_ubuntu2604 - rockylinux8 - rockylinux8_java11 - rockylinux8_java11_devtoolset10 - ubuntu2204 - ubuntu2204_java17 - ubuntu2404 + - ubuntu2604 # Linux (arm64) Docker platforms - debian12_arm64 - debian13_arm64 - rockylinux8_arm64 - ubuntu2204_arm64 - ubuntu2404_arm64 + - ubuntu2604_arm64 # macOS (Intel & Apple Silicon) - macos - macos_arm64