bazelbuild / continuous-integration

Bazel's Continuous Integration Setup
https://buildkite.com
Apache License 2.0
253 stars 134 forks source link

Gerrit build: Bump Fedora version to 40 #1959

Closed davido closed 1 month ago

davido commented 2 months ago

Change-Id: I36b5d3ea602ec27ee823e8d7bf5f1bd55f75fbde

davido commented 2 months ago

@meteorcloudy Thanks for merging https://github.com/bazelbuild/continuous-integration/pull/1947.

Would you be able to push the new fedora40 docker image to GCP so that we can switch to using the new image in buildkite pipeline?

meteorcloudy commented 2 months ago

Already pushed, can you verify if it works?

davido commented 1 month ago

Already pushed, can you verify if it works?

Done, it works like a charm:

$ docker pull gcr.io/bazel-public/fedora40-java21:latest
latest: Pulling from bazel-public/fedora40-java21
d4df0db66c89: Already exists
062d5e794c77: Already exists
f74fa259e505: Already exists
83ad1b97ffda: Already exists
87d13fb64609: Already exists
fee5a6a2ec5a: Pull complete
85dc23853a35: Pull complete
f14c406ddda9: Pull complete
9a985d91f5b7: Pull complete
Digest: sha256:77e1407c5aef5418b0eeb09cb15b031f87a275b31f794d19703565538f6908be
Status: Downloaded newer image for gcr.io/bazel-public/fedora40-java21:latest
gcr.io/bazel-public/fedora40-java21:latest
dos@mail:~/projects/rbe_autoconfig (master=)$ docker run -it gcr.io/bazel-public/fedora40-java21:latest
[root@3aea11e6e467 /]# bazel version
2024/05/28 05:50:53 Downloading https://releases.bazel.build/7.1.2/release/bazel-7.1.2-linux-x86_64...
Downloading: 66 MB out of 66 MB (100%)
Bazelisk version: v1.20.0
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
Extracting Bazel installation...
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Build label: 7.1.2
Build target: @@//src/main/java/com/google/devtools/build/lib/bazel:BazelServer
Build time: Wed May 8 20:49:55 2024 (1715201395)
Build timestamp: 1715201395
Build timestamp as int: 1715201395
[root@3aea11e6e467 /]# java -version
openjdk version "21.0.3" 2024-04-16
OpenJDK Runtime Environment (Red_Hat-21.0.3.0.9-1) (build 21.0.3+9)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.3.0.9-1) (build 21.0.3+9, mixed mode, sharing)

Also the gerrit tests are passing.