Skip to content

Commit

Permalink
[ci] Increase timeout for ci jobs (paritytech#4950)
Browse files Browse the repository at this point in the history
Related to recent discussion. PR makes timeout less strict.

cc https://github.com/paritytech/ci_cd/issues/996
  • Loading branch information
alvicsam authored and TomaszWaszczyk committed Jul 7, 2024
1 parent b1a18f5 commit cc86e2c
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 31 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/checks-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# However, env variables don't work for forks: https://github.com/orgs/community/discussions/44322
# This workaround sets the container image for each job using 'set-image' job output.
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
run: cat .github/env >> $GITHUB_OUTPUT
fmt:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -40,7 +40,7 @@ jobs:
run: cargo +nightly fmt --all -- --check
check-dependency-rules:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: check dependency rules
Expand All @@ -49,7 +49,7 @@ jobs:
../.gitlab/ensure-deps.sh
check-rust-feature-propagation:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -65,7 +65,7 @@ jobs:
time zepter run check
test-rust-features:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -75,7 +75,7 @@ jobs:
run: bash .gitlab/rust-features.sh .
check-toml-format:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -87,7 +87,7 @@ jobs:
echo "Please run `taplo format --config .config/taplo.toml` to fix any toml formatting issues"
check-workspace:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.0 (22. Sep 2023)
- name: install python deps
Expand All @@ -104,7 +104,7 @@ jobs:
run: python3 .github/scripts/deny-git-deps.py .
check-markdown:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -127,7 +127,7 @@ jobs:
markdownlint --config "$CONFIG" --ignore target .
check-umbrella:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/command-bench-all.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Bench All

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand Down Expand Up @@ -51,9 +51,8 @@ on:
- people-rococo
- people-westend


jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/command-bench-overhead.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Bench Overhead

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand Down Expand Up @@ -31,7 +31,7 @@ on:
- cumulus

jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/command-bench.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Bench

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand Down Expand Up @@ -76,9 +76,8 @@ on:
- starters
- testing


jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/command-fmt.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Command FMT

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
required: true

jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand All @@ -20,6 +20,7 @@ jobs:
cmd-fmt:
needs: [set-image]
runs-on: ubuntu-latest
timeout-minutes: 20
container:
image: ${{ needs.set-image.outputs.IMAGE }}
steps:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/command-update-ui.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Update UI

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand All @@ -11,7 +11,7 @@ on:
required: false

jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand All @@ -23,6 +23,7 @@ jobs:
cmd-update-ui:
needs: [set-image]
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 90
container:
image: ${{ needs.set-image.outputs.IMAGE }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-linux-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand All @@ -58,7 +58,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand All @@ -53,7 +53,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
continue-on-error: true # this rarely triggers in practice
Expand All @@ -78,7 +78,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand Down

0 comments on commit cc86e2c

Please sign in to comment.