From 169cf7593d37c87e6d8a8dd0d6c8e98c3071b66d Mon Sep 17 00:00:00 2001 From: Rodrigo Queiro Date: Mon, 23 Mar 2020 11:02:32 +0100 Subject: [PATCH] Limit Bazel memory usage in CI. This aims to reduce/eliminate the CircleCI flakes described in #968. It's based on the approach in https://github.com/angular/angular-cli/blob/master/.circleci/bazel.rc --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5f20a8d3cde..99bcb24eeec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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