Skip to content

Commit

Permalink
increase hardware specs and make label specific
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Feb 7, 2025
1 parent 62d32d4 commit 28239d0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/runs-on.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
runners:
self-hosted-linux:
cpu: [8, 16]
ram: [16, 32, 64]
self-hosted-ubuntu22-full-x64:
cpu: [16, 32, 64]
ram: [32, 64, 128]
disk: default
family: ["c7a", "c7i", "m7a", "m7i"]
spot: capacity-optimized
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chain-spec-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
chains-spec:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-linux"' || '"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
domain-genesis-storage:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-linux"' || '"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/runtime-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ on:
jobs:
runtime:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-linux"' ||
'"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ env:
jobs:
cargo-fmt:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-linux"' ||
'"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64"' || '"ubuntu-22.04"') }}

steps:
- name: Checkout
Expand Down Expand Up @@ -53,7 +52,7 @@ jobs:
matrix:
os: ${{ fromJson(github.repository_owner == 'autonomys' &&
'[
"runs-on=${{ github.run_id }}/runner=self-hosted-linux",
"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64",
["self-hosted", "windows-server-2022-x86-64"],
["self-hosted", "macos-14-arm64"]
]' ||
Expand Down Expand Up @@ -168,7 +167,7 @@ jobs:
matrix:
os: ${{ fromJson(github.repository_owner == 'autonomys' &&
'[
"runs-on=${{ github.run_id }}/runner=self-hosted-linux",
"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64",
["self-hosted", "windows-server-2022-x86-64"],
["self-hosted", "macos-14-arm64"]
]' ||
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
# This will build container images and then extract executables out of them
ubuntu:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-linux"' ||
'"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu22-full-x64"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down

0 comments on commit 28239d0

Please sign in to comment.