Skip to content

Commit

Permalink
[SPARK-45010][INFRA] Limit GHA job execution time to up to 5 hours in…
Browse files Browse the repository at this point in the history
… build_and_test.yml
  • Loading branch information
dongjoon-hyun committed Aug 29, 2023
1 parent a7eef21 commit aaf1d43
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
needs: precondition
if: fromJson(needs.precondition.outputs.required).build == 'true'
runs-on: ubuntu-22.04
timeout-minutes: 300
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -342,6 +343,7 @@ jobs:
if: (!cancelled()) && fromJson(needs.precondition.outputs.required).pyspark == 'true'
name: "Build modules: ${{ matrix.modules }}"
runs-on: ubuntu-22.04
timeout-minutes: 300
container:
image: ${{ needs.precondition.outputs.image_url }}
strategy:
Expand Down Expand Up @@ -478,6 +480,7 @@ jobs:
if: (!cancelled()) && fromJson(needs.precondition.outputs.required).sparkr == 'true'
name: "Build modules: sparkr"
runs-on: ubuntu-22.04
timeout-minutes: 300
container:
image: ${{ needs.precondition.outputs.image_url }}
env:
Expand Down Expand Up @@ -586,6 +589,7 @@ jobs:
if: (!cancelled()) && fromJson(needs.precondition.outputs.required).lint == 'true'
name: Linters, licenses, dependencies and documentation generation
runs-on: ubuntu-22.04
timeout-minutes: 300
env:
LC_ALL: C.UTF-8
LANG: C.UTF-8
Expand Down Expand Up @@ -767,6 +771,7 @@ jobs:
- 17
- 21-ea
runs-on: ubuntu-22.04
timeout-minutes: 300
steps:
- name: Checkout Spark repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -817,6 +822,7 @@ jobs:
if: fromJson(needs.precondition.outputs.required).scala-213 == 'true'
name: Scala 2.13 build with SBT
runs-on: ubuntu-22.04
timeout-minutes: 300
steps:
- name: Checkout Spark repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -865,6 +871,7 @@ jobs:
name: Run TPC-DS queries with SF=1
# Pin to 'Ubuntu 20.04' due to 'databricks/tpcds-kit' compilation
runs-on: ubuntu-20.04
timeout-minutes: 300
env:
SPARK_LOCAL_IP: localhost
steps:
Expand Down Expand Up @@ -963,6 +970,7 @@ jobs:
if: fromJson(needs.precondition.outputs.required).docker-integration-tests == 'true'
name: Run Docker integration tests
runs-on: ubuntu-22.04
timeout-minutes: 300
env:
HADOOP_PROFILE: ${{ inputs.hadoop }}
HIVE_PROFILE: hive2.3
Expand Down Expand Up @@ -1029,6 +1037,7 @@ jobs:
if: fromJson(needs.precondition.outputs.required).k8s-integration-tests == 'true'
name: Run Spark on Kubernetes Integration test
runs-on: ubuntu-22.04
timeout-minutes: 300
steps:
- name: Checkout Spark repository
uses: actions/checkout@v3
Expand Down

0 comments on commit aaf1d43

Please sign in to comment.