Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use larger machines for the slowest CI jobs. #2263

Merged
merged 9 commits into from
Feb 2, 2023
2 changes: 1 addition & 1 deletion .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
# Rebuild and upload the Docker build image
rebuild-docker-build-image:
runs-on: ubuntu-latest
runs-on: smithy_ubuntu-latest_8-core
name: Rebuild image
permissions:
id-token: write
Expand Down
27 changes: 24 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# and also runs some checks/lints so that those are run sooner rather than later.
generate:
name: Generate
runs-on: ubuntu-latest
runs-on: smithy_ubuntu-latest_8-core
# To avoid repeating setup boilerplate, we have the actual commands
# in a matrix strategy. These commands get run in the steps after all the setup.
strategy:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
# code to have already been generated in order to run.
test-codegen:
name: Test Codegen
runs-on: ubuntu-latest
runs-on: ${{ matrix.test.runner }}
# To avoid repeating setup boilerplate, we have the actual test commands
# in a matrix strategy. These commands get run in the steps after all the setup.
strategy:
Expand All @@ -75,19 +75,33 @@ jobs:
# These correspond to scripts in tools/ci-scripts that will be run in the Docker build image
test:
- action: check-aws-sdk-adhoc-tests
runner: ubuntu-latest
- action: check-client-codegen-integration-tests
runner: smithy_ubuntu-latest_8-core
- action: check-client-codegen-unit-tests
runner: ubuntu-latest
- action: check-core-codegen-unit-tests
runner: smithy_ubuntu-latest_8-core
- action: check-rust-runtimes
runner: smithy_ubuntu-latest_8-core
- action: check-sdk-codegen-unit-tests
runner: ubuntu-latest
- action: check-server-codegen-integration-tests
runner: smithy_ubuntu-latest_8-core
- action: check-server-codegen-integration-tests-python
runner: ubuntu-latest
- action: check-server-codegen-unit-tests
runner: ubuntu-latest
- action: check-server-codegen-unit-tests-python
runner: ubuntu-latest
- action: check-server-e2e-test
runner: ubuntu-latest
- action: check-server-python-e2e-test
runner: ubuntu-latest
- action: check-style-and-lints
runner: ubuntu-latest
- action: check-tools
runner: smithy_ubuntu-latest_8-core
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -103,7 +117,7 @@ jobs:
test-sdk:
name: Test the SDK
needs: generate
runs-on: ubuntu-latest
runs-on: ${{ matrix.test.runner }}
# To avoid repeating setup boilerplate, we have the actual test commands
# in a matrix strategy. These commands get run in the steps after all the setup.
strategy:
Expand All @@ -112,12 +126,19 @@ jobs:
# These correspond to scripts in tools/ci-scripts that will be run in the Docker build image
test:
- action: check-aws-config
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-canary
runner: ubuntu-latest
- action: check-aws-sdk-cargo-deny
runner: ubuntu-latest
- action: check-only-aws-sdk-services
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-smoketest-docs-clippy-udeps
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-smoketest-unit-tests
runner: smithy_ubuntu-latest_8-core
- action: check-aws-sdk-standalone-integration-tests
runner: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# This job will be a no-op if an image had already been built.
acquire-base-image:
name: Acquire Base Image
runs-on: ubuntu-latest
runs-on: smithy_ubuntu-latest_16-core
steps:
- uses: actions/checkout@v3
with:
Expand Down