Skip to content

Commit

Permalink
Add timeout-minutes to catch runaway jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Oct 10, 2023
1 parent 2c5a08b commit 5a7bb35
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
docker: podman
- os: rhel-7
docker: podman
timeout-minutes: 15
steps:
- name: Install podman 4.*
run: |
Expand Down Expand Up @@ -125,6 +126,7 @@ jobs:
readonly: --read-only
ca: --external-ca
os: [ fedora-37, rhel-9, rhel-8, almalinux-9 ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/docker-cgroups-ubuntu-22
Expand Down Expand Up @@ -163,6 +165,7 @@ jobs:
protected_regular: unset
- os: rhel-7
protected_regular: unset
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -193,6 +196,7 @@ jobs:
fail-fast: false
matrix:
os: [ fedora-38, centos-9-stream, centos-8-stream ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -220,6 +224,7 @@ jobs:
fail-fast: false
matrix:
os: [ fedora-38, rhel-9, rhel-8, centos-9-stream, centos-8-stream, rocky-9, rocky-8, almalinux-8 ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -263,6 +268,7 @@ jobs:
data-from: centos-8
- os: almalinux-8
data-from: centos-8
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/docker-cgroups-ubuntu-22
Expand Down Expand Up @@ -292,6 +298,7 @@ jobs:
include:
- os: fedora-38
data-from: fedora-37
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -322,6 +329,7 @@ jobs:
include:
- os: fedora-38
data-from: fedora-37
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand All @@ -348,6 +356,7 @@ jobs:
fail-fast: false
matrix:
os: [ fedora-rawhide, fedora-38, rhel-9, rhel-8, centos-9-stream, centos-8-stream ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/docker-cgroups-ubuntu-22
Expand Down Expand Up @@ -383,6 +392,7 @@ jobs:
fail-fast: false
matrix:
os: [ fedora-38, centos-9-stream ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand All @@ -407,6 +417,7 @@ jobs:
fail-fast: false
matrix:
os: [ fedora-38, centos-9-stream ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -442,6 +453,7 @@ jobs:
fail-fast: false
matrix:
os: [ fedora-rawhide, fedora-38, fedora-37, centos-9-stream, centos-8-stream, rocky-9, rocky-8, almalinux-9, almalinux-8, centos-7 ]
timeout-minutes: 30
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 5a7bb35

Please sign in to comment.