build: bazel integration test using limited resources (#27937)
PR Close #27937
This commit is contained in:
parent
4fc41517d1
commit
b47c43af45
|
@ -6,8 +6,10 @@ build --strategy=AngularTemplateCompile=worker
|
||||||
test --test_output=errors
|
test --test_output=errors
|
||||||
|
|
||||||
# Workaround https://github.com/bazelbuild/bazel/issues/3645
|
# Workaround https://github.com/bazelbuild/bazel/issues/3645
|
||||||
# Limit Bazel to consuming 3072K of RAM
|
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
|
||||||
build --local_resources=3072,2.0,1.0
|
# Limit Bazel to consuming resources that fit in CircleCI "xlarge" class
|
||||||
|
# https://circleci.com/docs/2.0/configuration-reference/#resource_class
|
||||||
|
build --local_resources=14336,8.0,1.0
|
||||||
|
|
||||||
# Use the Angular 6 compiler
|
# Use the Angular 6 compiler
|
||||||
build --define=compile=legacy
|
build --define=compile=legacy
|
Loading…
Reference in New Issue