Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/runs-on.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
runners:
self-hosted-ubuntu-22.04-x86-64:
cpu: [16, 32, 64]
ram: [64, 128, 192]
# A range from lowest to highest
cpu: [16, 64]
ram: [64, 192]
disk: default
family: ["c7a", "c7i", "m7a", "m7i"]
# Don't allow ARM machines, because they are slower (and switching architectures randomly could be confusing)
# Also don't use older processor generations, because they are slower
family: ["c7a", "c7i", "m7a", "m7i", "r7a", "r7i"]
# Don't allow runner interruption
spot: false
# Prefer instances with high capacity (low interruption risk), then low cost
#spot: capacity-optimized
image: ubuntu22-full-x64
# Give runner SSH access to the GitHub SSH keys of these accounts
admins:
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-ubuntu-22.04-x86-64"' || '"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}-${{ github.run_attempt }}/runner=self-hosted-ubuntu-22.04-x86-64/spot=false"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
domain-genesis-storage:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu-22.04-x86-64"' || '"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}-${{ github.run_attempt }}/runner=self-hosted-ubuntu-22.04-x86-64/spot=false"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runtime-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
runtime:
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' &&
'"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu-22.04-x86-64"' || '"ubuntu-22.04"') }}
'"runs-on=${{ github.run_id }}-${{ github.run_attempt }}/runner=self-hosted-ubuntu-22.04-x86-64/spot=false"' || '"ubuntu-22.04"') }}
permissions:
contents: write
packages: write
Expand Down
Loading
Loading