Unverified Commit 20e12f66 authored by Luca Palmieri's avatar Luca Palmieri Committed by GitHub
Browse files

Use larger machines for the slowest CI jobs. (#2263)

* Use larger machines for the slowest CI jobs.

* Fix invocation.
parent bdabbf08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+24 −3
Original line number Diff line number Diff line
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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: