Skip to content

Commit 20e12f6

Browse files
Use larger machines for the slowest CI jobs. (#2263)
* Use larger machines for the slowest CI jobs. * Fix invocation.
1 parent bdabbf0 commit 20e12f6

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

.github/workflows/ci-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
# Rebuild and upload the Docker build image
2323
rebuild-docker-build-image:
24-
runs-on: ubuntu-latest
24+
runs-on: smithy_ubuntu-latest_8-core
2525
name: Rebuild image
2626
permissions:
2727
id-token: write

.github/workflows/ci.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# and also runs some checks/lints so that those are run sooner rather than later.
3232
generate:
3333
name: Generate
34-
runs-on: ubuntu-latest
34+
runs-on: smithy_ubuntu-latest_8-core
3535
# To avoid repeating setup boilerplate, we have the actual commands
3636
# in a matrix strategy. These commands get run in the steps after all the setup.
3737
strategy:
@@ -66,7 +66,7 @@ jobs:
6666
# code to have already been generated in order to run.
6767
test-codegen:
6868
name: Test Codegen
69-
runs-on: ubuntu-latest
69+
runs-on: ${{ matrix.test.runner }}
7070
# To avoid repeating setup boilerplate, we have the actual test commands
7171
# in a matrix strategy. These commands get run in the steps after all the setup.
7272
strategy:
@@ -75,19 +75,33 @@ jobs:
7575
# These correspond to scripts in tools/ci-scripts that will be run in the Docker build image
7676
test:
7777
- action: check-aws-sdk-adhoc-tests
78+
runner: ubuntu-latest
7879
- action: check-client-codegen-integration-tests
80+
runner: smithy_ubuntu-latest_8-core
7981
- action: check-client-codegen-unit-tests
82+
runner: ubuntu-latest
8083
- action: check-core-codegen-unit-tests
84+
runner: smithy_ubuntu-latest_8-core
8185
- action: check-rust-runtimes
86+
runner: smithy_ubuntu-latest_8-core
8287
- action: check-sdk-codegen-unit-tests
88+
runner: ubuntu-latest
8389
- action: check-server-codegen-integration-tests
90+
runner: smithy_ubuntu-latest_8-core
8491
- action: check-server-codegen-integration-tests-python
92+
runner: ubuntu-latest
8593
- action: check-server-codegen-unit-tests
94+
runner: ubuntu-latest
8695
- action: check-server-codegen-unit-tests-python
96+
runner: ubuntu-latest
8797
- action: check-server-e2e-test
98+
runner: ubuntu-latest
8899
- action: check-server-python-e2e-test
100+
runner: ubuntu-latest
89101
- action: check-style-and-lints
102+
runner: ubuntu-latest
90103
- action: check-tools
104+
runner: smithy_ubuntu-latest_8-core
91105
steps:
92106
- uses: actions/checkout@v3
93107
with:
@@ -103,7 +117,7 @@ jobs:
103117
test-sdk:
104118
name: Test the SDK
105119
needs: generate
106-
runs-on: ubuntu-latest
120+
runs-on: ${{ matrix.test.runner }}
107121
# To avoid repeating setup boilerplate, we have the actual test commands
108122
# in a matrix strategy. These commands get run in the steps after all the setup.
109123
strategy:
@@ -112,12 +126,19 @@ jobs:
112126
# These correspond to scripts in tools/ci-scripts that will be run in the Docker build image
113127
test:
114128
- action: check-aws-config
129+
runner: smithy_ubuntu-latest_8-core
115130
- action: check-aws-sdk-canary
131+
runner: ubuntu-latest
116132
- action: check-aws-sdk-cargo-deny
133+
runner: ubuntu-latest
117134
- action: check-only-aws-sdk-services
135+
runner: smithy_ubuntu-latest_8-core
118136
- action: check-aws-sdk-smoketest-docs-clippy-udeps
137+
runner: smithy_ubuntu-latest_8-core
119138
- action: check-aws-sdk-smoketest-unit-tests
139+
runner: smithy_ubuntu-latest_8-core
120140
- action: check-aws-sdk-standalone-integration-tests
141+
runner: ubuntu-latest
121142
steps:
122143
- uses: actions/checkout@v3
123144
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# This job will be a no-op if an image had already been built.
4141
acquire-base-image:
4242
name: Acquire Base Image
43-
runs-on: ubuntu-latest
43+
runs-on: smithy_ubuntu-latest_16-core
4444
steps:
4545
- uses: actions/checkout@v3
4646
with:

0 commit comments

Comments
 (0)