This is an automated email from the ASF dual-hosted git repository.
gaogaotiantian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 283bca119c2a [SPARK-57115][INFRA] Add Java 17 workflow file
283bca119c2a is described below
commit 283bca119c2a275f0598cf727f9787bf34c77603
Author: Tian Gao <[email protected]>
AuthorDate: Thu May 28 17:16:00 2026 -0700
[SPARK-57115][INFRA] Add Java 17 workflow file
### What changes were proposed in this pull request?
Add a `build_java17.yml` file which can only be triggered by
workflow-dispatch
### Why are the changes needed?
* branch 4.0, 4.1 and 4.2 all have this setup as `build_branch40` ... It's
actually just `java17`. We now need to put this file in each branch because it
does not exist (we kind of added it in master when the branch was cut).
* We need this file in master too because
* the workflow label can only be rendered if master has the file
* in future branch cut, we don't need to create the file again
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
This should not have any real impact at this point.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #56162 from gaogaotiantian/add-java-17-yml.
Authored-by: Tian Gao <[email protected]>
Signed-off-by: Tian Gao <[email protected]>
---
.github/workflows/build_java17.yml | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/.github/workflows/build_java17.yml
b/.github/workflows/build_java17.yml
new file mode 100644
index 000000000000..6b67d73f3061
--- /dev/null
+++ b/.github/workflows/build_java17.yml
@@ -0,0 +1,50 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: "Build / Java17 (Scala 2.13, Hadoop 3, JDK 17)"
+
+on:
+ workflow_dispatch:
+
+jobs:
+ run-build:
+ permissions:
+ packages: write
+ name: Run
+ uses: ./.github/workflows/build_and_test.yml
+ if: github.repository == 'apache/spark'
+ with:
+ java: 17
+ hadoop: hadoop3
+ envs: >-
+ {
+ "SCALA_PROFILE": "scala2.13",
+ "PYSPARK_IMAGE_TO_TEST": "",
+ "PYTHON_TO_TEST": "",
+ "ORACLE_DOCKER_IMAGE_NAME": "gvenzl/oracle-free:23.7-slim"
+ }
+ jobs: >-
+ {
+ "build": "true",
+ "sparkr": "true",
+ "tpcds-1g": "true",
+ "docker-integration-tests": "true",
+ "k8s-integration-tests": "true",
+ "lint" : "true"
+ }
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]