Skip to content

Commit

Permalink
feat(ci): set gh workflow job timeouts to 15min (30min for E2E) (#1328)
Browse files Browse the repository at this point in the history
* feat(ci): set gh workflow job timeouts to 15min (30min for E2E)

Resolves #1325

* Consistent timeouts
  • Loading branch information
corneliusroemer authored Mar 11, 2024
1 parent 04bce57 commit 9fbb741
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/actions-usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
gha-usage-minutes-report:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: GitHub Actions Usage Audit
uses: fergusmacd/github-action-usage@v0.9.2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:
jobs:
Tests:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up JDK
Expand All @@ -35,6 +36,7 @@ jobs:
dockerImage:
name: Build Backend Docker Image # Don't change: Referenced by .github/workflows/update-argocd-metadata.yml
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
packages: write
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clean-cache-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
cleanup:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
actions: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/config-preprocessor-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
dockerImage:
name: Build config-processor Docker Image # Don't change: Referenced by .github/workflows/update-argocd-metadata.yml
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:
jobs:
check-docs-build:
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout Repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout Repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dummyPreprocessing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
build-or-use-cache:
name: Preprocessing dummy docker image build # Don't change: Referenced by .github/workflows/update-argocd-metadata.yml
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-k3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
checks: read

runs-on: ubuntu-latest
timeout-minutes: 30

env:
ALL_BROWSERS: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/format-website-on-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout Repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/keycloakify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
dockerImage:
name: Build keycloakify Docker Image # Don't change: Referenced by .github/workflows/update-argocd-metadata.yml
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/node_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/preprocessing-nextclade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
dockerImage:
name: Build preprocessing-nextclade Docker Image # Don't change: Referenced by .github/workflows/update-argocd-metadata.yml
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
packages: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-argocd-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
contents: read
checks: read
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout Main Repository
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
checks:
name: Check format and types
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: ./website
Expand All @@ -33,8 +34,8 @@ jobs:

unitTests:
name: Unit Tests
timeout-minutes: 10
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: ./website
Expand All @@ -56,6 +57,7 @@ jobs:
dockerImage:
name: Build Website Docker Image # Don't change: Referenced by .github/workflows/update-argocd-metadata.yml
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
packages: write
Expand Down

0 comments on commit 9fbb741

Please sign in to comment.