Merge pull request #44539 from crazy-max/ci-timeout

ci: define timeout for jobs
This commit is contained in:
Sebastiaan van Stijn 2022-11-26 14:13:53 +01:00 committed by GitHub
commit a491d2e8a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -105,6 +105,7 @@ jobs:
unit-test:
runs-on: ${{ inputs.os }}
timeout-minutes: 120
env:
GOPATH: ${{ github.workspace }}\go
GOBIN: ${{ github.workspace }}\go\bin
@ -239,6 +240,7 @@ jobs:
integration-test:
runs-on: ${{ inputs.os }}
timeout-minutes: 120
needs:
- build
- integration-test-prepare

View file

@ -45,9 +45,10 @@ jobs:
retention-days: 1
test:
runs-on: ubuntu-20.04
timeout-minutes: 120
needs:
- build
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:

View file

@ -117,6 +117,7 @@ jobs:
unit:
runs-on: ubuntu-20.04
timeout-minutes: 120
needs:
- build-dev
steps:
@ -192,6 +193,7 @@ jobs:
docker-py:
runs-on: ubuntu-20.04
timeout-minutes: 120
needs:
- build-dev
steps:
@ -239,6 +241,7 @@ jobs:
integration-flaky:
runs-on: ubuntu-20.04
timeout-minutes: 120
needs:
- build-dev
steps:
@ -267,6 +270,7 @@ jobs:
integration:
runs-on: ${{ matrix.os }}
timeout-minutes: 120
needs:
- build-dev
strategy:
@ -411,6 +415,7 @@ jobs:
integration-cli:
runs-on: ubuntu-20.04
timeout-minutes: 120
needs:
- build-dev
- integration-cli-prepare