Skip to content

Commit

Permalink
[SPARK-50834][INFRA] Add Daily Github Action CI to branch-4.0
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR aims to add `Daily GitHub Action CI` to `branch-4.0`.

### Why are the changes needed?

Like `build_branch35.yml`, this should be defined in `master` branch due to the GitHub Action requirement.
- https://github.com/apache/spark/blob/master/.github/workflows/build_branch35.yml

### Does this PR introduce _any_ user-facing change?

No. This is a test-only change.

### How was this patch tested?

Manual review. This should be tested after merging because it's a daily CI.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#49514 from dongjoon-hyun/SPARK-50834.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
dongjoon-hyun committed Jan 15, 2025
1 parent 9714645 commit e1ccc16
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/build_branch40.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#
# 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 (branch-4.0, Scala 2.13, Hadoop 3, JDK 17)"

on:
schedule:
- cron: '0 12 * * *'
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
branch: branch-4.0
hadoop: hadoop3
envs: >-
{
"SCALA_PROFILE": "scala2.13",
"PYSPARK_IMAGE_TO_TEST": "",
"PYTHON_TO_TEST": "",
"ORACLE_DOCKER_IMAGE_NAME": "gvenzl/oracle-free:23.5-slim"
}
jobs: >-
{
"build": "true",
"sparkr": "true",
"tpcds-1g": "true",
"docker-integration-tests": "true",
"k8s-integration-tests": "true",
"lint" : "true"
}

0 comments on commit e1ccc16

Please sign in to comment.