This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push: new 982d6e9 [SPARK-53617] Use `zulu` Java distribution in GitHub Action jobs 982d6e9 is described below commit 982d6e9d34c21b769c6c7d8413376dbc8fdf81d9 Author: Dongjoon Hyun <dongj...@apache.org> AuthorDate: Wed Sep 17 00:33:55 2025 -0700 [SPARK-53617] Use `zulu` Java distribution in GitHub Action jobs ### What changes were proposed in this pull request? This PR aims to use `zulu` Java distribution in GitHub Action jobs. ### Why are the changes needed? To use the same JDK consistently like `Spark K8s Operator`'s `Docker` image. https://github.com/apache/spark-kubernetes-operator/blob/a55be8d7874e17daf5c8b250b576b0bfef1813bd/build-tools/docker/Dockerfile#L25 Apache Spark main repository also uses `azul/zulu-openjdk` docker image in K8s `Dockerfile` and `GitHub Action` CIs consistently. https://github.com/apache/spark/blob/f57a473a02e4fb7a05e1c62c6f5cf8f461e4f8b9/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile#L17 ``` ARG java_image_name=azul/zulu-openjdk ``` ### Does this PR introduce _any_ user-facing change? No, this is a test-infra change. ### How was this patch tested? Pass the CIs and check manually. **BEFORE** ``` $ git grep adopt | wc -l 5 ``` **AFTER** ``` $ git grep adopt | wc -l 0 ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes #319 from dongjoon-hyun/SPARK-53617. Authored-by: Dongjoon Hyun <dongj...@apache.org> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- .github/workflows/build_and_test.yml | 8 ++++---- .github/workflows/publish_snapshot_chart.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6029695..726f1dc 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -43,7 +43,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: ${{ matrix.java-version }} - distribution: 'adopt' + distribution: 'zulu' cache: 'gradle' - name: Build with Gradle run: | @@ -59,7 +59,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: 17 - distribution: 'adopt' + distribution: 'zulu' cache: 'gradle' - name: Build Operator Image run: | @@ -102,7 +102,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: 21 - distribution: 'adopt' + distribution: 'zulu' cache: 'gradle' - name: Set up Minikube uses: medyagh/setup-minikube@v0.0.20 @@ -167,7 +167,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: 17 - distribution: 'adopt' + distribution: 'zulu' cache: 'gradle' - name: Linters run: | diff --git a/.github/workflows/publish_snapshot_chart.yml b/.github/workflows/publish_snapshot_chart.yml index 1cf621d..028061b 100644 --- a/.github/workflows/publish_snapshot_chart.yml +++ b/.github/workflows/publish_snapshot_chart.yml @@ -30,7 +30,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: 17 - distribution: 'adopt' + distribution: 'zulu' cache: 'gradle' - name: Build Operator run: | --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org