ci: bound self-hosted runner gate duration
This commit is contained in:
@@ -22,6 +22,9 @@ jobs:
|
|||||||
frontend-tests:
|
frontend-tests:
|
||||||
name: "Frontend Tests (H3 gate)"
|
name: "Frontend Tests (H3 gate)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# A stalled self-hosted runner must fail the gate visibly instead of keeping
|
||||||
|
# every dependent security/deploy job queued indefinitely.
|
||||||
|
timeout-minutes: 15
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: .
|
working-directory: .
|
||||||
@@ -51,6 +54,7 @@ jobs:
|
|||||||
name: "CASAN Security Gate + Vault KMS (H4/H5)"
|
name: "CASAN Security Gate + Vault KMS (H4/H5)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [frontend-tests]
|
needs: [frontend-tests]
|
||||||
|
timeout-minutes: 30
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: .
|
working-directory: .
|
||||||
@@ -148,6 +152,7 @@ jobs:
|
|||||||
runs-on: [ci-runner]
|
runs-on: [ci-runner]
|
||||||
needs: [frontend-tests, security-gate]
|
needs: [frontend-tests, security-gate]
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
|
timeout-minutes: 35
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: .
|
working-directory: .
|
||||||
|
|||||||
Reference in New Issue
Block a user