Skip to content

Commit

Permalink
CI: Increase parallelism without changing resource_class for faster b…
Browse files Browse the repository at this point in the history
…uilds (#4448)
  • Loading branch information
michaeldiamant authored Aug 25, 2022
1 parent 7de989a commit e931e07
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Disclaimer:
# * Unless otherwise specified, assume `resource_class` and `parallelism` values are cherry-picked values that provided a reasonable enough build-duration-to-cost tradeoff at the time of choosing.
# * There's too many variables (architecture types, CircleCI concurrency limitations, parallel pipeline runs, source code changes) to feel confident we've found a best-fit configuration.

version: 2.1

orbs:
Expand Down Expand Up @@ -507,7 +511,7 @@ jobs:
type: string
executor: << parameters.platform >>_medium
working_directory: << pipeline.parameters.build_dir >>/project
parallelism: 4
parallelism: 32
steps:
- generic_build
- generic_test:
Expand Down Expand Up @@ -540,7 +544,7 @@ jobs:
type: string
executor: << parameters.platform >>_large
working_directory: << pipeline.parameters.build_dir >>/project
parallelism: 2
parallelism: 16
environment:
E2E_TEST_FILTER: "GO"
steps:
Expand Down Expand Up @@ -574,7 +578,7 @@ jobs:
type: string
executor: << parameters.platform >>_medium
working_directory: << pipeline.parameters.build_dir >>/project
parallelism: 2
parallelism: 10
environment:
E2E_TEST_FILTER: "EXPECT"
steps:
Expand Down

0 comments on commit e931e07

Please sign in to comment.