Skip to content

Commit ad42e03

Browse files
authored
Attempt #2: switch high-perf-docker to runs-on.com runners (#13851)
1 parent ba06d09 commit ad42e03

17 files changed

+28
-28
lines changed

.github/actionlint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
self-hosted-runner:
22
# Labels of self-hosted runners in array of string
33
labels:
4-
- high-perf-docker
4+
- runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}

.github/workflows/cli-e2e-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# we ensure that the Aptos CLI works with all 3 prod networks, at least
2626
# based on the tests in the test suite.
2727
run-cli-tests:
28-
runs-on: high-perf-docker
28+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
2929
permissions:
3030
contents: read
3131
id-token: write

.github/workflows/coverage-move-only.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030
jobs:
3131
rust-move-unit-coverage:
3232
timeout-minutes: 60
33-
runs-on: high-perf-docker
33+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
3434
steps:
3535
- uses: actions/checkout@v3
3636
- uses: aptos-labs/aptos-core/.github/actions/rust-setup@main

.github/workflows/coverage.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
(github.event_name == 'schedule' && github.ref_name == 'main')
2828
# Note the tests run slowly due to instrutmentation. It takes CI 10 hrs
2929
timeout-minutes: 720
30-
runs-on: high-perf-docker
30+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
3131
steps:
3232
- uses: actions/checkout@v3
3333
with:
@@ -58,7 +58,7 @@ jobs:
5858
contains(github.event.pull_request.labels.*.name, 'CICD:run-coverage') ||
5959
(github.event_name == 'schedule' && github.ref_name == 'main')
6060
timeout-minutes: 720 # incremented from 240 due to execution time limit hit in cron
61-
runs-on: high-perf-docker
61+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
6262
steps:
6363
- uses: actions/checkout@v3
6464
with:

.github/workflows/docker-build-rosetta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
build:
20-
runs-on: high-perf-docker
20+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
2121
steps:
2222
- uses: actions/checkout@v3
2323

.github/workflows/faucet-tests-main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# be compatible in production.
5050
run-tests-main:
5151
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
52-
runs-on: high-perf-docker
52+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
5353
steps:
5454
- uses: actions/checkout@v3
5555
if: ${{ !inputs.SKIP_JOB }}

.github/workflows/faucet-tests-prod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run-tests-devnet:
3838
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
3939
needs: [permission-check]
40-
runs-on: high-perf-docker
40+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
4141
steps:
4242
- uses: actions/checkout@v3
4343
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
@@ -57,7 +57,7 @@ jobs:
5757
run-tests-testnet:
5858
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
5959
needs: [permission-check]
60-
runs-on: high-perf-docker
60+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
6161
permissions:
6262
contents: read
6363
id-token: write

.github/workflows/find-packages-with-undeclared-feature-dependencies.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44

55
jobs:
66
find-packages-with-undeclared-feature-dependencies:
7-
runs-on: high-perf-docker
7+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
88
steps:
99
- uses: actions/checkout@v3
1010
- uses: aptos-labs/aptos-core/.github/actions/rust-setup@main

.github/workflows/indexer-grpc-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run-tests-local-testnet:
3131
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
3232
needs: [permission-check]
33-
runs-on: high-perf-docker
33+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
3434
env:
3535
# spin up the local testnet using the latest devnet image
3636
VALIDATOR_IMAGE_REPO: ${{ vars.GCP_DOCKER_ARTIFACT_REPO }}/validator

.github/workflows/keyless-circuit-daily-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020

2121
jobs:
2222
run-all-circuit-tests:
23-
runs-on: high-perf-docker
23+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
2424
timeout-minutes: 30
2525
steps:
2626
- uses: actions/checkout@v3

.github/workflows/lint-test.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
# Run the crypto hasher domain separation checks
5757
rust-cryptohasher-domain-separation-check:
5858
needs: file_change_determinator
59-
runs-on: high-perf-docker
59+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
6060
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
6161
steps:
6262
- uses: actions/checkout@v4
@@ -69,7 +69,7 @@ jobs:
6969
# Run all rust lints. This is a PR required job.
7070
rust-lints:
7171
needs: file_change_determinator
72-
runs-on: high-perf-docker
72+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
7373
steps:
7474
- uses: actions/checkout@v4
7575
if: needs.file_change_determinator.outputs.only_docs_changed != 'true'
@@ -94,7 +94,7 @@ jobs:
9494
github.event.pull_request.auto_merge != null) ||
9595
contains(github.event.pull_request.body, '#e2e'
9696
)
97-
runs-on: high-perf-docker
97+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
9898
steps:
9999
- uses: actions/checkout@v4
100100
if: needs.file_change_determinator.outputs.only_docs_changed != 'true'
@@ -109,7 +109,7 @@ jobs:
109109
# Run only the targeted rust unit tests. This is a PR required job.
110110
rust-targeted-unit-tests:
111111
needs: file_change_determinator
112-
runs-on: high-perf-docker
112+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
113113
steps:
114114
- uses: actions/checkout@v4
115115
with:
@@ -128,7 +128,7 @@ jobs:
128128
github.event_name == 'push' ||
129129
contains(github.event.pull_request.labels.*.name, 'CICD:run-all-unit-tests')
130130
)
131-
runs-on: high-perf-docker
131+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
132132
steps:
133133
- uses: actions/checkout@v4
134134
- name: Run rust unit tests
@@ -147,7 +147,7 @@ jobs:
147147
contains(github.event.pull_request.labels.*.name, 'CICD:run-e2e-tests') ||
148148
github.event.pull_request.auto_merge != null
149149
)
150-
runs-on: high-perf-docker
150+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
151151
steps:
152152
- uses: actions/checkout@v4
153153
if: needs.file_change_determinator.outputs.only_docs_changed != 'true'
@@ -162,7 +162,7 @@ jobs:
162162

163163
# Run the consensus only unit tests
164164
rust-consensus-only-unit-test:
165-
runs-on: high-perf-docker
165+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
166166
if: contains(github.event.pull_request.labels.*.name, 'CICD:build-consensus-only-image')
167167
steps:
168168
- uses: actions/checkout@v4
@@ -178,7 +178,7 @@ jobs:
178178

179179
# Run the consensus only smoke test
180180
rust-consensus-only-smoke-test:
181-
runs-on: high-perf-docker
181+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
182182
if: contains(github.event.pull_request.labels.*.name, 'CICD:build-consensus-only-image')
183183
steps:
184184
- uses: actions/checkout@v4

.github/workflows/move-test-compiler-v2.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626
jobs:
2727
# Run Aptos Move Compiler v2 tests. This is a PR required job.
2828
rust-move-tests:
29-
runs-on: high-perf-docker
29+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
3030
steps:
3131
- uses: actions/checkout@v3
3232
- name: Run Aptos Move tests with compiler V2

.github/workflows/node-api-compatibility-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# if there are any changes that would affect it within the PR / commit. If
4444
# everything is checked in, run tests, build the SDK, and upload it to npmjs.
4545
node-api-compatibility-tests:
46-
runs-on: high-perf-docker
46+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
4747
permissions:
4848
contents: read
4949
id-token: write

.github/workflows/prover-daily-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
prover-inconsistency-test:
25-
runs-on: high-perf-docker
25+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
2626
timeout-minutes: ${{ github.event_name == 'pull_request' && 10 || 480}}
2727
steps:
2828
- uses: actions/checkout@v3

.github/workflows/run-gas-calibration.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
jobs:
2626
run-gas-calibration:
2727
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
28-
runs-on: high-perf-docker
28+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
2929
steps:
3030
- uses: actions/checkout@v3
3131
with:

.github/workflows/rust-client-tests.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run-tests-devnet:
3232
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
3333
needs: [permission-check]
34-
runs-on: high-perf-docker
34+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
3535
steps:
3636
- uses: actions/checkout@v3
3737
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
@@ -50,7 +50,7 @@ jobs:
5050
run-tests-testnet:
5151
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
5252
needs: [permission-check]
53-
runs-on: high-perf-docker
53+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
5454
steps:
5555
- uses: actions/checkout@v3
5656
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
@@ -69,7 +69,7 @@ jobs:
6969
run-tests-mainnet:
7070
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
7171
needs: [permission-check]
72-
runs-on: high-perf-docker
72+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
7373
steps:
7474
- uses: actions/checkout@v3
7575
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main

.github/workflows/ts-sdk-e2e-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# Now that the latter runs against the local testnet too we make these land blocking.
5454
run-tests-main-branch:
5555
needs: [permission-check, file_change_determinator]
56-
runs-on: high-perf-docker
56+
runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }}
5757
steps:
5858
- uses: actions/checkout@v3
5959
if: needs.file_change_determinator.outputs.only_docs_changed != 'true'

0 commit comments

Comments
 (0)