Skip to content

Commit c68c9ae

Browse files
committed
gha: restrict cross and bin-image to 20 minutes
We had a couple of runs where these jobs got stuck and github actions didn't allow terminating them, so that they were only terminated after 120 minutes. These jobs usually complete in 5 minutes, so let's give them a shorter timeout. 20 minutes should be enough (don't @ me). Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 2d32d75 commit c68c9ae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/bin-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
prepare:
4343
runs-on: ubuntu-20.04
44-
timeout-minutes: 120 # guardrails timeout for the whole job
44+
timeout-minutes: 20 # guardrails timeout for the whole job
4545
outputs:
4646
platforms: ${{ steps.platforms.outputs.matrix }}
4747
steps:

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
prepare-cross:
7272
runs-on: ubuntu-latest
73-
timeout-minutes: 120 # guardrails timeout for the whole job
73+
timeout-minutes: 20 # guardrails timeout for the whole job
7474
needs:
7575
- validate-dco
7676
outputs:
@@ -92,7 +92,7 @@ jobs:
9292
9393
cross:
9494
runs-on: ubuntu-20.04
95-
timeout-minutes: 120 # guardrails timeout for the whole job
95+
timeout-minutes: 20 # guardrails timeout for the whole job
9696
needs:
9797
- validate-dco
9898
- prepare-cross

0 commit comments

Comments
 (0)