From cc86e2c9b99e98dd3f1ce333cf2dfa9ef0f1b321 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Fri, 5 Jul 2024 13:13:23 +0200 Subject: [PATCH] [ci] Increase timeout for ci jobs (#4950) Related to recent discussion. PR makes timeout less strict. cc https://github.com/paritytech/ci_cd/issues/996 --- .github/workflows/checks-quick.yml | 18 +++++++++--------- .github/workflows/command-bench-all.yml | 7 +++---- .github/workflows/command-bench-overhead.yml | 6 +++--- .github/workflows/command-bench.yml | 7 +++---- .github/workflows/command-fmt.yml | 7 ++++--- .github/workflows/command-update-ui.yml | 7 ++++--- .github/workflows/tests-linux-stable.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 8 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/checks-quick.yml b/.github/workflows/checks-quick.yml index 954ac764efa7..1fcec5c80fd4 100644 --- a/.github/workflows/checks-quick.yml +++ b/.github/workflows/checks-quick.yml @@ -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: @@ -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 }} @@ -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 @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 @@ -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 @@ -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 }} diff --git a/.github/workflows/command-bench-all.yml b/.github/workflows/command-bench-all.yml index b3fa0868c487..f1d1589bea29 100644 --- a/.github/workflows/command-bench-all.yml +++ b/.github/workflows/command-bench-all.yml @@ -1,7 +1,7 @@ name: Command Bench All -on: - workflow_dispatch: +on: + workflow_dispatch: inputs: pr: description: Number of the Pull Request @@ -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 }} diff --git a/.github/workflows/command-bench-overhead.yml b/.github/workflows/command-bench-overhead.yml index 735b40102106..16cbcefcf269 100644 --- a/.github/workflows/command-bench-overhead.yml +++ b/.github/workflows/command-bench-overhead.yml @@ -1,7 +1,7 @@ name: Command Bench Overhead -on: - workflow_dispatch: +on: + workflow_dispatch: inputs: pr: description: Number of the Pull Request @@ -31,7 +31,7 @@ on: - cumulus jobs: - set-image: + set-image: runs-on: ubuntu-latest outputs: IMAGE: ${{ steps.set_image.outputs.IMAGE }} diff --git a/.github/workflows/command-bench.yml b/.github/workflows/command-bench.yml index 0ff166be48c1..b23b06d1b3c0 100644 --- a/.github/workflows/command-bench.yml +++ b/.github/workflows/command-bench.yml @@ -1,7 +1,7 @@ name: Command Bench -on: - workflow_dispatch: +on: + workflow_dispatch: inputs: pr: description: Number of the Pull Request @@ -76,9 +76,8 @@ on: - starters - testing - jobs: - set-image: + set-image: runs-on: ubuntu-latest outputs: IMAGE: ${{ steps.set_image.outputs.IMAGE }} diff --git a/.github/workflows/command-fmt.yml b/.github/workflows/command-fmt.yml index d415007d9383..c949d0768d7a 100644 --- a/.github/workflows/command-fmt.yml +++ b/.github/workflows/command-fmt.yml @@ -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 }} @@ -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: diff --git a/.github/workflows/command-update-ui.yml b/.github/workflows/command-update-ui.yml index 9b9c45c5c0b9..b6b0420e7868 100644 --- a/.github/workflows/command-update-ui.yml +++ b/.github/workflows/command-update-ui.yml @@ -1,7 +1,7 @@ name: Command Update UI -on: - workflow_dispatch: +on: + workflow_dispatch: inputs: pr: description: Number of the Pull Request @@ -11,7 +11,7 @@ on: required: false jobs: - set-image: + set-image: runs-on: ubuntu-latest outputs: IMAGE: ${{ steps.set_image.outputs.IMAGE }} @@ -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: diff --git a/.github/workflows/tests-linux-stable.yml b/.github/workflows/tests-linux-stable.yml index 6f2ac87c3efb..55addf11de06 100644 --- a/.github/workflows/tests-linux-stable.yml +++ b/.github/workflows/tests-linux-stable.yml @@ -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: @@ -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: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0c1447cba33a..a413d3306159 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: @@ -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 @@ -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: