ci: use remote strategy for AngularTemplateCompile and TypeScriptCompile (#32678)
PR Close #32678
This commit is contained in:
parent
67d08b15e0
commit
4ff9c942c0
|
@ -14,13 +14,7 @@ test --flaky_test_attempts=2
|
||||||
# More details on failures
|
# More details on failures
|
||||||
build --verbose_failures=true
|
build --verbose_failures=true
|
||||||
|
|
||||||
# We have seen some flakiness in using TS workers on CircleCI
|
# Utilize remote strategy for AngularTemplateCompile and TypeScriptCompile to take
|
||||||
# https://angular-team.slack.com/archives/C07DT5M6V/p1562693245183400
|
# advantage of caching of outputs
|
||||||
# > failures like `ERROR: /home/circleci/ng/packages/core/test/BUILD.bazel:5:1:
|
build --strategy=AngularTemplateCompile=remote
|
||||||
# > Compiling TypeScript (devmode) //packages/core/test:test_lib failed: Worker process did not return a WorkResponse:`
|
build --strategy=TypeScriptCompile=remote
|
||||||
# > 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
|
|
||||||
|
|
|
@ -6,6 +6,10 @@ package(default_visibility = ["//modules/playground:__subpackages__"])
|
||||||
ng_module(
|
ng_module(
|
||||||
name = "relative_assets",
|
name = "relative_assets",
|
||||||
srcs = glob(["**/*.ts"]),
|
srcs = glob(["**/*.ts"]),
|
||||||
|
assets = [
|
||||||
|
"app/style.css",
|
||||||
|
"app/tpl.html",
|
||||||
|
],
|
||||||
# This example demonstrates how external resources can be loaded relatively, so we
|
# This example demonstrates how external resources can be loaded relatively, so we
|
||||||
# need to disable resource inlining.
|
# need to disable resource inlining.
|
||||||
inline_resources = False,
|
inline_resources = False,
|
||||||
|
|
Loading…
Reference in New Issue