From 798f58b3ef733967e41d6eb6d4aa417858fd3cf5 Mon Sep 17 00:00:00 2001 From: Egor_P <egor@parity.io> Date: Mon, 13 Jan 2025 16:38:09 +0100 Subject: [PATCH] Switch to parity-large runners to be able to run on the github (#7130) --- .github/workflows/check-cargo-check-runtimes.yml | 14 +++++++------- .github/workflows/check-frame-omni-bencher.yml | 2 +- .github/workflows/check-runtime-migration.yml | 4 ++-- .github/workflows/checks.yml | 4 ++-- .github/workflows/cmd.yml | 2 +- .github/workflows/docs.yml | 6 +++--- .github/workflows/tests-linux-stable.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/check-cargo-check-runtimes.yml b/.github/workflows/check-cargo-check-runtimes.yml index ebcf6c5fc9b..2f2d376ffb5 100644 --- a/.github/workflows/check-cargo-check-runtimes.yml +++ b/.github/workflows/check-cargo-check-runtimes.yml @@ -23,7 +23,7 @@ jobs: - id: set_image run: cat .github/env >> $GITHUB_OUTPUT check-runtime-assets: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large needs: [set-image] timeout-minutes: 20 container: @@ -37,7 +37,7 @@ jobs: root: cumulus/parachains/runtimes/assets check-runtime-collectives: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large needs: [check-runtime-assets, set-image] timeout-minutes: 20 container: @@ -51,7 +51,7 @@ jobs: root: cumulus/parachains/runtimes/collectives check-runtime-coretime: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large container: image: ${{ needs.set-image.outputs.IMAGE }} needs: [check-runtime-assets, set-image] @@ -65,7 +65,7 @@ jobs: root: cumulus/parachains/runtimes/coretime check-runtime-bridge-hubs: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large container: image: ${{ needs.set-image.outputs.IMAGE }} needs: [set-image] @@ -79,7 +79,7 @@ jobs: root: cumulus/parachains/runtimes/bridge-hubs check-runtime-contracts: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large container: image: ${{ needs.set-image.outputs.IMAGE }} needs: [check-runtime-collectives, set-image] @@ -93,7 +93,7 @@ jobs: root: cumulus/parachains/runtimes/contracts check-runtime-starters: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large container: image: ${{ needs.set-image.outputs.IMAGE }} needs: [check-runtime-assets, set-image] @@ -107,7 +107,7 @@ jobs: root: cumulus/parachains/runtimes/starters check-runtime-testing: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large container: image: ${{ needs.set-image.outputs.IMAGE }} needs: [check-runtime-starters, set-image] diff --git a/.github/workflows/check-frame-omni-bencher.yml b/.github/workflows/check-frame-omni-bencher.yml index e9db2d91297..ae8f913a25a 100644 --- a/.github/workflows/check-frame-omni-bencher.yml +++ b/.github/workflows/check-frame-omni-bencher.yml @@ -39,7 +39,7 @@ jobs: run: cat .github/env >> $GITHUB_OUTPUT run-frame-omni-bencher: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large needs: [ set-image, changes ] # , build-frame-omni-bencher ] if: ${{ needs.changes.outputs.rust }} timeout-minutes: 30 diff --git a/.github/workflows/check-runtime-migration.yml b/.github/workflows/check-runtime-migration.yml index b93a07bf61f..7ad5877ccfe 100644 --- a/.github/workflows/check-runtime-migration.yml +++ b/.github/workflows/check-runtime-migration.yml @@ -36,9 +36,9 @@ jobs: run: | # Run merge queues on persistent runners if [[ $GITHUB_REF_NAME == *"gh-readonly-queue"* ]]; then - echo "RUNNER=arc-runners-polkadot-sdk-beefy-persistent" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large-persistent" >> $GITHUB_OUTPUT else - echo "RUNNER=arc-runners-polkadot-sdk-beefy" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large" >> $GITHUB_OUTPUT fi # More info can be found here: https://github.com/paritytech/polkadot/pull/5865 check-runtime-migration: diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index ad9d0d1a959..93da6ffdae4 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -39,9 +39,9 @@ jobs: run: | # Run merge queues on persistent runners if [[ $GITHUB_REF_NAME == *"gh-readonly-queue"* ]]; then - echo "RUNNER=arc-runners-polkadot-sdk-beefy-persistent" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large-persistent" >> $GITHUB_OUTPUT else - echo "RUNNER=arc-runners-polkadot-sdk-beefy" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large" >> $GITHUB_OUTPUT fi cargo-clippy: runs-on: ${{ needs.set-image.outputs.RUNNER }} diff --git a/.github/workflows/cmd.yml b/.github/workflows/cmd.yml index dfdf771a610..b9d6bec2abf 100644 --- a/.github/workflows/cmd.yml +++ b/.github/workflows/cmd.yml @@ -232,7 +232,7 @@ jobs: if [[ $BODY == "/cmd bench"* ]]; then echo "RUNNER=arc-runners-polkadot-sdk-benchmark" >> $GITHUB_OUTPUT elif [[ $BODY == "/cmd update-ui"* ]]; then - echo "RUNNER=arc-runners-polkadot-sdk-beefy" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large" >> $GITHUB_OUTPUT else echo "RUNNER=ubuntu-latest" >> $GITHUB_OUTPUT fi diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 523c2b19ba8..fea57512b69 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: - id: set_image run: cat .github/env >> $GITHUB_OUTPUT test-rustdoc: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large needs: [set-image] container: image: ${{ needs.set-image.outputs.IMAGE }} @@ -38,7 +38,7 @@ jobs: env: SKIP_WASM_BUILD: 1 test-doc: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large needs: [set-image] container: image: ${{ needs.set-image.outputs.IMAGE }} @@ -49,7 +49,7 @@ jobs: RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" build-rustdoc: - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large needs: [set-image, test-rustdoc] container: image: ${{ needs.set-image.outputs.IMAGE }} diff --git a/.github/workflows/tests-linux-stable.yml b/.github/workflows/tests-linux-stable.yml index 4a13f5318f7..ed648163f53 100644 --- a/.github/workflows/tests-linux-stable.yml +++ b/.github/workflows/tests-linux-stable.yml @@ -38,7 +38,7 @@ jobs: test-linux-stable-int: needs: [set-image, changes] if: ${{ needs.changes.outputs.rust }} - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large timeout-minutes: 60 container: image: ${{ needs.set-image.outputs.IMAGE }} @@ -59,7 +59,7 @@ jobs: test-linux-stable-runtime-benchmarks: needs: [set-image, changes] if: ${{ needs.changes.outputs.rust }} - runs-on: arc-runners-polkadot-sdk-beefy + runs-on: parity-large timeout-minutes: 60 container: image: ${{ needs.set-image.outputs.IMAGE }} @@ -83,7 +83,7 @@ jobs: fail-fast: false matrix: partition: [1/3, 2/3, 3/3] - runners: [arc-runners-polkadot-sdk-beefy, oldlinux] + runners: [parity-large, parity-oldlinux] container: image: ${{ needs.set-image.outputs.IMAGE }} # needed for tests that use unshare syscall diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 25761fb94fd..c48de0a18ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,9 +37,9 @@ jobs: run: | # Run merge queues on persistent runners if [[ $GITHUB_REF_NAME == *"gh-readonly-queue"* ]]; then - echo "RUNNER=arc-runners-polkadot-sdk-beefy-persistent" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large-persistent" >> $GITHUB_OUTPUT else - echo "RUNNER=arc-runners-polkadot-sdk-beefy" >> $GITHUB_OUTPUT + echo "RUNNER=parity-large" >> $GITHUB_OUTPUT fi # This job runs all benchmarks defined in the `/bin/node/runtime` once to check that there are no errors. -- GitLab