mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
ci: change bazel to use XL container resources
We are limiting Bazel to consuming resources that fit in CircleCI "medium" class but Circle steps are configured to use "xlarge" containers
aacb98d85b/.circleci/bazel.rc (L13-L17)
Changing the contain to "medium" causes `Stream closed` failures
This commit is contained in:
parent
3e76676fe1
commit
1be09a03dd
@ -12,10 +12,10 @@ test --test_tag_filters=-manual
|
||||
|
||||
# Workaround https://github.com/bazelbuild/bazel/issues/3645
|
||||
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
|
||||
# Limit Bazel to consuming resources that fit in CircleCI "medium" class which is the default:
|
||||
# Limit Bazel to consuming resources that fit in CircleCI "xlarge" class
|
||||
# https://circleci.com/docs/2.0/configuration-reference/#resource_class
|
||||
build --local_ram_resources=3072
|
||||
build --local_cpu_resources=2
|
||||
build --local_cpu_resources=8
|
||||
build --local_ram_resources=14336
|
||||
|
||||
# More details on failures
|
||||
build --verbose_failures=true
|
||||
|
@ -260,6 +260,7 @@ jobs:
|
||||
steps:
|
||||
- custom_attach_workspace
|
||||
- install_python
|
||||
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
|
||||
- run:
|
||||
command: yarn bazel:integration
|
||||
no_output_timeout: 20m
|
||||
|
Loading…
x
Reference in New Issue
Block a user