Skip to content

Commit

Permalink
ci: switch to multi-runner stack (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy authored Jul 28, 2023
1 parent 2604470 commit ffe9810
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/actions/nodejs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/s3-layer-cache-settings/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rs-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm-dpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ffe9810

Please sign in to comment.