From ffe98106ceb22ec24944293e1161f84226cdb0c5 Mon Sep 17 00:00:00 2001 From: strophy <32928115+strophy@users.noreply.github.com> Date: Fri, 28 Jul 2023 21:25:49 +1000 Subject: [PATCH] ci: switch to multi-runner stack (#1268) --- .github/actions/docker/action.yaml | 4 ++-- .github/actions/nodejs/action.yaml | 2 +- .github/actions/rust/action.yaml | 2 +- .../actions/s3-layer-cache-settings/action.yaml | 2 +- .github/workflows/all-packages.yml | 14 +++++++------- .github/workflows/js-checks.yml | 8 ++++---- .github/workflows/release.yml | 12 ++++++------ .github/workflows/rs-checks.yml | 8 ++++---- .github/workflows/wasm-dpp.yml | 2 +- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml index 5538bd10b3..9f0ecd81e7 100644 --- a/.github/actions/docker/action.yaml +++ b/.github/actions/docker/action.yaml @@ -76,7 +76,7 @@ runs: uses: dcginfra/buildkit-cache-dance/inject@main if: ${{ inputs.cache_mounts != '' }} with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: ${{ inputs.cache_mounts }} - name: Set suffix @@ -136,5 +136,5 @@ runs: uses: dcginfra/buildkit-cache-dance/extract@main if: ${{ inputs.cache_mounts != '' }} with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: ${{ inputs.cache_mounts }} diff --git a/.github/actions/nodejs/action.yaml b/.github/actions/nodejs/action.yaml index 7ccebee7bf..3b3aa9f591 100644 --- a/.github/actions/nodejs/action.yaml +++ b/.github/actions/nodejs/action.yaml @@ -25,7 +25,7 @@ runs: - name: Cache NPM build artifacts uses: everpcpc/actions-cache@v1 with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic root: actions-cache path: | .yarn/unplugged diff --git a/.github/actions/rust/action.yaml b/.github/actions/rust/action.yaml index 993c6ae48c..87313aadd1 100644 --- a/.github/actions/rust/action.yaml +++ b/.github/actions/rust/action.yaml @@ -40,7 +40,7 @@ runs: - name: Cache Rust build artifacts uses: everpcpc/actions-cache@v1 with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic root: actions-cache path: | /home/ubuntu/.cargo/registry/index diff --git a/.github/actions/s3-layer-cache-settings/action.yaml b/.github/actions/s3-layer-cache-settings/action.yaml index 0685f5b3e4..64de57469e 100644 --- a/.github/actions/s3-layer-cache-settings/action.yaml +++ b/.github/actions/s3-layer-cache-settings/action.yaml @@ -18,7 +18,7 @@ inputs: default: eu-west-1 bucket: description: S3 bucket name - default: platform-runner-cache + default: multi-runner-linux-x64-platform-cache-gy9micic prefix: description: S3 key prefix default: 'cache-layers/' diff --git a/.github/workflows/all-packages.yml b/.github/workflows/all-packages.yml index cbead9116f..bf4aecc9e9 100644 --- a/.github/workflows/all-packages.yml +++ b/.github/workflows/all-packages.yml @@ -63,7 +63,7 @@ jobs: test-suite: name: Run Platform Test Suite - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 steps: - name: Check out repo @@ -104,7 +104,7 @@ jobs: - name: Load Docker mount cache uses: dcginfra/buildkit-cache-dance/inject@main with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: | cargo_registry_index cargo_registry_cache @@ -163,7 +163,7 @@ jobs: - name: Store Docker mount cache uses: dcginfra/buildkit-cache-dance/extract@main with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: | cargo_registry_index cargo_registry_cache @@ -181,7 +181,7 @@ jobs: test-suite-browsers: name: Run Platform Test Suite in Browsers - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 steps: - name: Login to DockerHub @@ -222,7 +222,7 @@ jobs: - name: Load Docker mount cache uses: dcginfra/buildkit-cache-dance/inject@main with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: | cargo_registry_index cargo_registry_cache @@ -281,7 +281,7 @@ jobs: - name: Store Docker mount cache uses: dcginfra/buildkit-cache-dance/extract@main with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: | cargo_registry_index cargo_registry_cache @@ -299,7 +299,7 @@ jobs: codeql: name: Code security audit - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] permissions: actions: read contents: read diff --git a/.github/workflows/js-checks.yml b/.github/workflows/js-checks.yml index 7bfc27c22c..f39fe7184e 100644 --- a/.github/workflows/js-checks.yml +++ b/.github/workflows/js-checks.yml @@ -26,7 +26,7 @@ on: jobs: lint: name: Linting - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 15 steps: - name: Check out repo @@ -55,7 +55,7 @@ jobs: test: name: Tests - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 if: ${{ !inputs.skip-tests }} steps: @@ -117,7 +117,7 @@ jobs: if: ${{ inputs.start-local-network }} uses: dcginfra/buildkit-cache-dance/inject@main with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: | cargo_registry_index cargo_registry_cache @@ -179,7 +179,7 @@ jobs: if: ${{ inputs.start-local-network }} uses: dcginfra/buildkit-cache-dance/extract@main with: - bucket: platform-runner-cache + bucket: multi-runner-linux-x64-platform-cache-gy9micic mounts: | cargo_registry_index cargo_registry_cache diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa975e6742..bc355a9653 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ concurrency: jobs: release-npm: name: Release NPM packages - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 15 if: github.event_name != 'workflow_dispatch' steps: @@ -76,7 +76,7 @@ jobs: release-drive-docker-image: name: Release Drive to Docker Hub - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 steps: - name: Check out repo @@ -112,7 +112,7 @@ jobs: release-dapi-docker-image: name: Release DAPI to Docker Hub - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 steps: - name: Check out repo @@ -151,7 +151,7 @@ jobs: release-test-suite-docker-image: name: Release Test Suite to Docker Hub - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 steps: - name: Check out repo @@ -190,7 +190,7 @@ jobs: release-envoy-docker-image: name: Release Envoy to Docker Hub - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] steps: - name: Check out repo uses: actions/checkout@v3 @@ -219,7 +219,7 @@ jobs: release-dashmate-helper-docker-image: name: Release Dashmate helper to Docker Hub - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 120 steps: - name: Check out repo diff --git a/.github/workflows/rs-checks.yml b/.github/workflows/rs-checks.yml index b1392fd742..64c68a95b4 100644 --- a/.github/workflows/rs-checks.yml +++ b/.github/workflows/rs-checks.yml @@ -11,7 +11,7 @@ on: jobs: lint: name: Linting - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 15 steps: - name: Check out repo @@ -30,7 +30,7 @@ jobs: formatting: name: Formatting - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] steps: - name: Check out repo uses: actions/checkout@v3 @@ -46,7 +46,7 @@ jobs: compile: name: Compilation errors - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 15 steps: - name: Check out repo @@ -107,7 +107,7 @@ jobs: test: name: Tests - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 15 steps: - name: Check out repo diff --git a/.github/workflows/wasm-dpp.yml b/.github/workflows/wasm-dpp.yml index a1ede43bff..cb88ccf7cb 100644 --- a/.github/workflows/wasm-dpp.yml +++ b/.github/workflows/wasm-dpp.yml @@ -41,7 +41,7 @@ jobs: wasm-errors: name: WASM compilation - runs-on: self-hosted + runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ] timeout-minutes: 15 steps: - name: Check out repo