Skip to content

Commit

Permalink
feat: add actions job timout (dragonflyoss#1008)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Jan 19, 2022
1 parent 5083963 commit 5ea25d4
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
test:
name: Test
timeout-minutes: 20
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Install Go
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:

build:
name: Build
timeout-minutes: 20
timeout-minutes: 10
runs-on: ubuntu-latest
needs: [test]
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compatibility-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
jobs:
compatibility_e2e_tests:
name: e2e_tests_with_${{ matrix.module }}
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
push_scheduler_to_registry:
name: Push Scheduler Image
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -68,6 +69,7 @@ jobs:
push_dfdaemon_to_registry:
name: Push Dfdaemon Image
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -127,6 +129,7 @@ jobs:
push_cdn_to_registry:
name: Push CDN Image
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -186,6 +189,7 @@ jobs:
push_manager_to_registry:
name: Push Manager Image
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
jobs:
e2e_tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ env:
jobs:
lint:
name: Lint
timeout-minutes: 20
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
goreleaser:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 5ea25d4

Please sign in to comment.