From c68c9aed8cb3916669de6d7f2c564279ec83663f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 11 Oct 2024 23:04:24 +0200 Subject: [PATCH] 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 --- .github/workflows/bin-image.yml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bin-image.yml b/.github/workflows/bin-image.yml index f1dca828ecc1c..b8f76010986dd 100644 --- a/.github/workflows/bin-image.yml +++ b/.github/workflows/bin-image.yml @@ -41,7 +41,7 @@ jobs: prepare: runs-on: ubuntu-20.04 - timeout-minutes: 120 # guardrails timeout for the whole job + timeout-minutes: 20 # guardrails timeout for the whole job outputs: platforms: ${{ steps.platforms.outputs.matrix }} steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0f66f8491cc2..41d61de6a1449 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: prepare-cross: runs-on: ubuntu-latest - timeout-minutes: 120 # guardrails timeout for the whole job + timeout-minutes: 20 # guardrails timeout for the whole job needs: - validate-dco outputs: @@ -92,7 +92,7 @@ jobs: cross: runs-on: ubuntu-20.04 - timeout-minutes: 120 # guardrails timeout for the whole job + timeout-minutes: 20 # guardrails timeout for the whole job needs: - validate-dco - prepare-cross