Skip to content

Commit 4227126

Browse files
devversionkara
authored andcommitted
ci(docs-infra): run cli docs examples concurrently (angular#29103)
PR Close angular#29103
1 parent e20a29a commit 4227126

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ jobs:
332332
# Needed because the example e2e tests depend on Chrome.
333333
- image: *browsers_docker_image
334334
parallelism: 4
335+
resource_class: xlarge
335336
steps:
336337
- *attach_workspace
337338
- *init_environment
@@ -340,13 +341,14 @@ jobs:
340341
# Run examples tests. The "CIRCLE_NODE_INDEX" will be set if "parallelism" is enabled.
341342
# Since the parallelism is set to "3", there will be three parallel CircleCI containers
342343
# with either "0", "1" or "2" as node index. This can be passed to the "--shard" argument.
343-
- run: yarn --cwd aio example-e2e --setup --local --shard=${CIRCLE_NODE_INDEX}/${CIRCLE_NODE_TOTAL}
344+
- run: yarn --cwd aio example-e2e --setup --local --cliSpecsConcurrency=5 --shard=${CIRCLE_NODE_INDEX}/${CIRCLE_NODE_TOTAL}
344345

345346
test_docs_examples_ivy:
346347
<<: *job_defaults
347348
docker:
348349
# Needed because the example e2e tests depend on Chrome.
349350
- image: *browsers_docker_image
351+
resource_class: xlarge
350352
# We increase the parallelism here to five while the "test_docs_examples" job runs with
351353
# a parallelism of four. This is necessary because this job also need to run NGCC which
352354
# takes up more time and we don't want these jobs to impact the overall CI turnaround.
@@ -365,7 +367,7 @@ jobs:
365367
# Run examples tests with ivy. The "CIRCLE_NODE_INDEX" will be set if "parallelism" is enabled.
366368
# Since the parallelism is set to "3", there will be three parallel CircleCI containers
367369
# with either "0", "1" or "2" as node index. This can be passed to the "--shard" argument.
368-
- run: yarn --cwd aio example-e2e --setup --local --ivy --shard=${CIRCLE_NODE_INDEX}/${CIRCLE_NODE_TOTAL}
370+
- run: yarn --cwd aio example-e2e --setup --local --ivy --cliSpecsConcurrency=5 --shard=${CIRCLE_NODE_INDEX}/${CIRCLE_NODE_TOTAL}
369371

370372
# This job should only be run on PR builds, where `CI_PULL_REQUEST` is not `false`.
371373
aio_preview:

0 commit comments

Comments
 (0)