mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
ci: set sensible timeouts on all gha jobs (#9683)
This commit is contained in:
parent
68f4dd4427
commit
e1f38d7567
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
||||
prepare:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
TEST_NO_DOCKER: 1
|
||||
TEST_NO_FUSE: 1
|
||||
@ -40,6 +41,7 @@ jobs:
|
||||
ipfs-interop:
|
||||
needs: [prepare]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
matrix:
|
||||
suites:
|
||||
@ -83,6 +85,7 @@ jobs:
|
||||
go-ipfs-api:
|
||||
needs: [prepare]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
TEST_NO_DOCKER: 1
|
||||
TEST_NO_FUSE: 1
|
||||
@ -122,6 +125,7 @@ jobs:
|
||||
go-ipfs-http-client:
|
||||
needs: [prepare]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
TEST_NO_DOCKER: 1
|
||||
TEST_NO_FUSE: 1
|
||||
@ -154,6 +158,7 @@ jobs:
|
||||
ipfs-webui:
|
||||
needs: [prepare]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
NO_SANDBOX: true
|
||||
LIBP2P_TCP_REUSEPORT: false
|
||||
|
||||
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
1
.github/workflows/docker-build.yml
vendored
1
.github/workflows/docker-build.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
||||
docker-build:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
IMAGE_NAME: ipfs/kubo
|
||||
WIP_IMAGE_TAG: wip
|
||||
|
||||
1
.github/workflows/docker-image.yml
vendored
1
.github/workflows/docker-image.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
name: Push Docker image to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 90
|
||||
env:
|
||||
IMAGE_NAME: ipfs/kubo
|
||||
LEGACY_IMAGE_NAME: ipfs/go-ipfs
|
||||
|
||||
1
.github/workflows/gobuild.yml
vendored
1
.github/workflows/gobuild.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
||||
gobuild:
|
||||
needs: [runner]
|
||||
runs-on: ${{ fromJSON(needs.runner.outputs.config).labels }}
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
TEST_NO_DOCKER: 1
|
||||
TEST_VERBOSE: 1
|
||||
|
||||
1
.github/workflows/golang-analysis.yml
vendored
1
.github/workflows/golang-analysis.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
||||
unit:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
name: All
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
1
.github/workflows/golint.yml
vendored
1
.github/workflows/golint.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
||||
golint:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
TEST_NO_DOCKER: 1
|
||||
TEST_NO_FUSE: 1
|
||||
|
||||
1
.github/workflows/gotest.yml
vendored
1
.github/workflows/gotest.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
||||
gotest:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
TEST_NO_DOCKER: 1
|
||||
TEST_NO_FUSE: 1
|
||||
|
||||
1
.github/workflows/runner.yml
vendored
1
.github/workflows/runner.yml
vendored
@ -10,6 +10,7 @@ on:
|
||||
jobs:
|
||||
choose:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 1
|
||||
outputs:
|
||||
config: ${{ steps.config.outputs.result }}
|
||||
steps:
|
||||
|
||||
1
.github/workflows/sharness.yml
vendored
1
.github/workflows/sharness.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
||||
sharness:
|
||||
needs: [runner]
|
||||
runs-on: ${{ fromJSON(needs.runner.outputs.config).labels }}
|
||||
timeout-minutes: 20
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
1
.github/workflows/sync-release-assets.yml
vendored
1
.github/workflows/sync-release-assets.yml
vendored
@ -13,6 +13,7 @@ jobs:
|
||||
sync-github-and-dist-ipfs-tech:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
runs-on: "ubuntu-latest"
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: ipfs/download-ipfs-distribution-action@v1
|
||||
- uses: ipfs/start-ipfs-daemon-action@v1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user