You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2026/07/02 13:19:15 UTC
(beam) 01/01: Bump CI Java version to Java21
This is an automated email from the ASF dual-hosted git repository.
Abacn pushed a commit to branch bumpjava21
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 2e29a89f16bfc545668772f1c73bd021ae459b2b
Author: Yi Hu <ya...@google.com>
AuthorDate: Thu Jul 2 09:16:22 2026 -0400
Bump CI Java version to Java21
---
.github/actions/setup-environment-action/action.yml | 2 +-
.../arc/images/Dockerfile | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.github/actions/setup-environment-action/action.yml b/.github/actions/setup-environment-action/action.yml
index c82ad087fe4..c88b4a6fa8f 100644
--- a/.github/actions/setup-environment-action/action.yml
+++ b/.github/actions/setup-environment-action/action.yml
@@ -74,7 +74,7 @@ runs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: ${{ inputs.java-version == 'default' && '11' || inputs.java-version }}
+ java-version: ${{ inputs.java-version == 'default' && '21' || inputs.java-version }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
with:
diff --git a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
index bc9494124f1..c5feac53df8 100644
--- a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
+++ b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
@@ -26,7 +26,7 @@ RUN docker buildx install && docker buildx version
USER root
# Native build toolchain for Python C extensions.
RUN apt-get update && \
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential time rsync openssh-client && \
+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential time rsync openssh-client wget && \
rm -rf /var/lib/apt/lists/*
#Install Node
RUN curl -OL https://nodejs.org/dist/v22.14.0/node-v22.14.0-linux-x64.tar.xz && \
@@ -41,16 +41,16 @@ RUN curl -OL https://go.dev/dl/go${go_version}.linux-amd64.tar.gz && \
rm go${go_version}.linux-amd64.tar.gz
ENV PATH="${PATH}:/usr/local/go/bin"
#Install Java
-RUN curl -OL https://cdn.azul.com/zulu/bin/zulu11.74.15-ca-jdk11.0.24-linux_x64.tar.gz && \
- tar -C /usr/local -xzf zulu11.74.15-ca-jdk11.0.24-linux_x64.tar.gz && \
- rm zulu11.74.15-ca-jdk11.0.24-linux_x64.tar.gz && \
- mv /usr/local/zulu11.74.15-ca-jdk11.0.24-linux_x64 /usr/local/java
+RUN curl -OL https://cdn.azul.com/zulu/bin/zulu21.50.19-ca-jdk21.0.11-linux_x64.tar.gz && \
+ tar -C /usr/local -xzf zulu21.50.19-ca-jdk21.0.11-linux_x64.tar.gz && \
+ rm zulu21.50.19-ca-jdk21.0.11-linux_x64.gz && \
+ mv /usr/local/zulu21.50.19-ca-jdk21.0.11-linux_x64 /usr/local/java
ENV PATH="${PATH}:/usr/local/java/bin"
#Install Gradle
-RUN curl -OL https://services.gradle.org/distributions/gradle-8.4-bin.zip && \
- unzip gradle-8.4-bin.zip && \
- rm gradle-8.4-bin.zip && \
- mv gradle-8.4 /usr/local/gradle
+RUN curl -OL https://services.gradle.org/distributions/gradle-8.14.3-bin.zip && \
+ unzip gradle-8.14.3-bin.zip && \
+ rm gradle-8.14.3-bin.zip && \
+ mv gradle-8.14.3 /usr/local/gradle
ENV PATH="${PATH}:/usr/local/gradle/bin"
#Install GitHub CLI
RUN curl -OL https://github.com/cli/cli/releases/download/v2.31.0/gh_2.31.0_linux_amd64.tar.gz && \