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 aed20e2 [SPARK-52474] Limit GHA job execution time to up to 20 minutes
aed20e2 is described below
commit aed20e24030c4753e3bd7dcfa4dda3133f61220f
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Jun 13 21:13:32 2025 -0700
[SPARK-52474] Limit GHA job execution time to up to 20 minutes
### What changes were proposed in this pull request?
This PR aims to limit GHA job execution time to up to 20 minutes.
### Why are the changes needed?
According to the GitHub Action log on `main` branch, most CI finishes in 10
minutes. So, we can use `20` minutes as a job execution limit. This will stop
abnormal executions. In those cases, we had better restart quickly.
-
https://github.com/apache/spark-kubernetes-operator/actions/workflows/build_and_test.yml?query=branch%3Amain
### Does this PR introduce _any_ user-facing change?
No, this is a infra-only change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #244 from dongjoon-hyun/SPARK-52474.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index d715453..a04d06a 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -17,6 +17,7 @@ jobs:
license-check:
name: "License Check"
runs-on: ubuntu-latest
+ timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -29,6 +30,7 @@ jobs:
build-test:
name: "Build Test CI"
runs-on: ${{ matrix.os }}
+ timeout-minutes: 20
strategy:
fail-fast: false
matrix:
@@ -49,6 +51,7 @@ jobs:
build-image:
name: "Build Operator Image CI"
runs-on: ubuntu-latest
+ timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -65,6 +68,7 @@ jobs:
k8s-integration-tests:
name: "K8s Integration Tests"
runs-on: ubuntu-latest
+ timeout-minutes: 20
strategy:
fail-fast: false
matrix:
@@ -144,6 +148,7 @@ jobs:
lint:
name: "Linter and documentation"
runs-on: ubuntu-latest
+ timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]