You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/02/04 05:30:12 UTC

[buildstream] 01/01: .github: Explicitly set job timeouts to 4 hours

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/fix-ci-timeouts
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 8518a4d6649cdff9a3f498950d8cc2b772e7aafc
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Fri Feb 4 14:28:54 2022 +0900

    .github: Explicitly set job timeouts to 4 hours
    
    Given that the runners have a tendency to be fairly crappy, what
    takes about 20min to run on your typical laptop ends up taking over
    an hour in CI.
    
    Lets not take any chances and bump the timeout to 4 hours across the board.
---
 .github/workflows/ci.yml      | 3 +++
 .github/workflows/merge.yml   | 2 ++
 .github/workflows/release.yml | 1 +
 3 files changed, 6 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1ca4781..2a73876 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,6 +28,7 @@ jobs:
   tests:
     runs-on: ubuntu-20.04
     continue-on-error: ${{ matrix.allow-failure || false }}
+    timeout-minutes: 240
 
     strategy:
       fail-fast: false
@@ -63,6 +64,7 @@ jobs:
   # Matrix of tests which run against remote services which we bring up adjacently
   service-tests:
     runs-on: ubuntu-20.04
+    timeout-minutes: 240
 
     strategy:
       matrix:
@@ -87,6 +89,7 @@ jobs:
 
   docs:
     runs-on: ubuntu-20.04
+    timeout-minutes: 240
     steps:
       - name: Check out repository
         uses: actions/checkout@v2
diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml
index 330c457..8c817e8 100644
--- a/.github/workflows/merge.yml
+++ b/.github/workflows/merge.yml
@@ -9,6 +9,7 @@ jobs:
   build:
     name: Build documentation
     runs-on: ubuntu-20.04
+    timeout-minutes: 240
     steps:
     - name: Checkout code
       uses: actions/checkout@v2
@@ -45,6 +46,7 @@ jobs:
   publish:
     needs: build
     runs-on: ubuntu-20.04
+    timeout-minutes: 240
     steps:
 
     - name: Download artifact
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 55dfe86..5f0ce66 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,6 +9,7 @@ jobs:
   build:
     name: Upload Release Asset
     runs-on: ubuntu-20.04
+    timeout-minutes: 240
     steps:
       - name: Checkout code
         uses: actions/checkout@v2