Skip to content

Commit

Permalink
build: bazel integration test using limited resources (angular#27937)
Browse files Browse the repository at this point in the history
PR Close angular#27937
  • Loading branch information
devversion committed Jan 8, 2019
1 parent c5c0d28 commit b64da25
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions integration/bazel/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ build --strategy=AngularTemplateCompile=worker
test --test_output=errors

# Workaround https://github.com/bazelbuild/bazel/issues/3645
# Limit Bazel to consuming 3072K of RAM
build --local_resources=3072,2.0,1.0
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
# 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
build --define=compile=legacy
build --define=compile=legacy

0 comments on commit b64da25

Please sign in to comment.