ci: use remote strategy for AngularTemplateCompile and TypeScriptCompile (#32678)

PR Close #32678
This commit is contained in:
Joey Perrott
2019-09-13 14:53:43 -07:00
committed by Andrew Kushnir
parent 67d08b15e0
commit 4ff9c942c0
2 changed files with 8 additions and 10 deletions

View File

@ -14,13 +14,7 @@ test --flaky_test_attempts=2
# More details on failures
build --verbose_failures=true
# We have seen some flakiness in using TS workers on CircleCI
# https://angular-team.slack.com/archives/C07DT5M6V/p1562693245183400
# > failures like `ERROR: /home/circleci/ng/packages/core/test/BUILD.bazel:5:1:
# > Compiling TypeScript (devmode) //packages/core/test:test_lib failed: Worker process did not return a WorkResponse:`
# > I saw that issue a couple times today.
# > Example job: https://circleci.com/gh/angular/angular/385517
# We expect that TypeScript compilations will parallelize wider than the number of local cores anyway
# so we should saturate remote workers with TS compilations
build --strategy=AngularTemplateCompile=local
build --strategy=TypeScriptCompile=local
# Utilize remote strategy for AngularTemplateCompile and TypeScriptCompile to take
# advantage of caching of outputs
build --strategy=AngularTemplateCompile=remote
build --strategy=TypeScriptCompile=remote