Skip to content

Commit

Permalink
Limit Bazel memory usage in CI.
Browse files Browse the repository at this point in the history
This aims to reduce/eliminate the CircleCI flakes described in grpc-ecosystem#968.
It's based on the approach in
https://github.com/angular/angular-cli/blob/master/.circleci/bazel.rc
  • Loading branch information
drigz authored and pull[bot] committed Apr 29, 2020
1 parent cb476c3 commit 6474243
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Expand Up @@ -69,6 +69,8 @@ jobs:
startup --output_base $HOME/.cache/_grpc_gateway_bazel
build --test_output errors
build --features race
# Workaround https://github.com/bazelbuild/bazel/issues/3645
build --local_resources=3072,2.0,1.0
EOF
- run:
name: Check that Bazel BUILD files are up-to-date
Expand Down

0 comments on commit 6474243

Please sign in to comment.