Skip to content

Commit 2c5fd0c

Browse files
ci: set timeout for e2e test and perf test
Signed-off-by: Jintao Zhang <[email protected]>
1 parent 17588a4 commit 2c5fd0c

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.github/workflows/e2e_nightly.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
run: docker pull kong/nightly-ingress-controller:$(date +%Y-%m-%d)
1515

1616
e2e-tests:
17+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
1718
needs: ensure-nightly-image-was-built
1819
uses: ./.github/workflows/_e2e_tests.yaml
1920
secrets: inherit
@@ -24,6 +25,7 @@ jobs:
2425
run-istio: true
2526

2627
e2e-tests-unreleased-kong:
28+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
2729
needs: ensure-nightly-image-was-built
2830
uses: ./.github/workflows/_e2e_tests.yaml
2931
secrets: inherit

.github/workflows/e2e_targeted.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
run: echo "Using ${{ steps.choose.outputs.image }}"
8585

8686
run:
87+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
8788
needs: choose-image
8889
if: ${{ !cancelled() }}
8990
uses: ./.github/workflows/_e2e_tests.yaml
@@ -96,6 +97,7 @@ jobs:
9697
all-supported-k8s-versions: ${{ inputs.all-supported-k8s-versions }}
9798

9899
run-unreleased-kong:
100+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
99101
needs: choose-image
100102
if: ${{ !cancelled() }}
101103
uses: ./.github/workflows/_e2e_tests.yaml

.github/workflows/performance_nightly.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
run: docker pull kong/nightly-ingress-controller:$(date +%Y-%m-%d)
1515

1616
performance-tests:
17+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
1718
needs: ensure-nightly-image-was-built
1819
uses: ./.github/workflows/_performance_tests.yaml
1920
secrets: inherit
2021
with:
2122
kic-image: kong/nightly-ingress-controller:nightly
2223

2324
performance-tests-unreleased-kong:
25+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
2426
needs: ensure-nightly-image-was-built
2527
uses: ./.github/workflows/_performance_tests.yaml
2628
secrets: inherit

.github/workflows/performance_targeted.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
run: echo "Using ${{ steps.choose.outputs.image }}"
7373

7474
run:
75+
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
7576
needs: choose-image
7677
if: ${{ !cancelled() }}
7778
uses: ./.github/workflows/_performance_tests.yaml

0 commit comments

Comments
 (0)