From 18e460c129c2b5e1d1ef5bc53c5ce65bfc47f1af Mon Sep 17 00:00:00 2001 From: Philip Kuryloski Date: Mon, 12 Jul 2021 22:03:28 +0200 Subject: Use a split .bazelrc so we can check most of the file into the repo Now a base .bazelrc is provided, which will import a user.bazelrc file, allowing local additions and overrides (like credentials and/or os specific config). user-template.bazelrc provides an example. --- user-template.bazelrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 user-template.bazelrc (limited to 'user-template.bazelrc') diff --git a/user-template.bazelrc b/user-template.bazelrc new file mode 100644 index 0000000000..20adf1b95c --- /dev/null +++ b/user-template.bazelrc @@ -0,0 +1,16 @@ +build --@bazel-erlang//:erlang_home=/Users/rabbitmq/kerl/24.0 +build --@bazel-erlang//:erlang_version=24.0 +build --//:elixir_home=/Users/rabbitmq/.kiex/elixirs/elixir-1.12.0/lib/elixir + +# rabbitmqctl wait shells out to 'ps', which is broken in the bazel macOS +# sandbox (https://github.com/bazelbuild/bazel/issues/7448) +# adding "--spawn_strategy=local" to the invocation is a workaround +build --spawn_strategy=local + +# run one test at a time on the local machine +build --test_strategy=exclusive + +# don't re-run flakes automatically on the local machine +build --flaky_test_attempts=1 + +build:rbe --remote_header=x-buildbuddy-api-key=YOUR_API_KEY -- cgit v1.2.1