File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
packages/angular_devkit/build_angular Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ build:remote --bes_results_url="https://source.cloud.google.com/results/invocati
125
125
# Set remote caching settings
126
126
build:remote --remote_accept_cached=true
127
127
128
+ # Force remote executions to consider the entire run as linux.
129
+ # This is required for OSX cross-platform RBE.
130
+ build:remote --cpu=k8
131
+ build:remote --host_cpu=k8
132
+
128
133
###############################
129
134
# NodeJS rules settings
130
135
# These settings are required for rules_nodejs
Original file line number Diff line number Diff line change @@ -261,6 +261,8 @@ LARGE_SPECS = {
261
261
"@npm//puppeteer" ,
262
262
"@npm//ts-node" ,
263
263
],
264
+ # NB: must be run locally because webdriver manager uses an absolute path to chromedriver
265
+ "tags" : ["local" ],
264
266
},
265
267
"dev-server" : {
266
268
"extra_deps" : [
@@ -288,6 +290,10 @@ LARGE_SPECS = {
288
290
"@npm//puppeteer" ,
289
291
"@npm//ts-node" ,
290
292
],
293
+ # NB: must be run locally because webdriver manager uses an absolute path to chromedriver
294
+ "tags" : ["local" ],
295
+ # NB: multiple shards will compete for port 4200 so limiting to 1
296
+ "shards" : 1 ,
291
297
},
292
298
"tslint" : {
293
299
"extra_deps" : [
@@ -363,7 +369,7 @@ LARGE_SPECS = {
363
369
# These tests are resource intensive and should not be over-parallized as they will
364
370
# compete for the resources of other parallel tests slowing everything down.
365
371
# Ask Bazel to allocate multiple CPUs for these tests with "cpu:n" tag.
366
- tags = ["cpu:2" ],
372
+ tags = ["cpu:2" ] + LARGE_SPECS [ spec ]. get ( "tags" , []) ,
367
373
templated_args = ["--nobazel_patch_module_resolver" ],
368
374
deps = [":build_angular_" + spec + "_test_lib" ],
369
375
)
You can’t perform that action at this time.
0 commit comments