-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bazelrc
46 lines (39 loc) · 1.48 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# System configs
build --java_language_version=11
build --java_runtime_version=remotejdk_11
build --tool_java_language_version=11
build --tool_java_runtime_version=remotejdk_11
# Output configs
build --show_timestamps
build --ui_event_filters=-DEBUG
test --test_output=errors
test --test_verbose_timeout_warnings
# test --test_summary=terse
# Build configs
build --incompatible_strict_action_env
## Needed these for integration tests (bazel in bazel)
test --test_env=PATH=/opt/homebrew/bin/:/usr/local/bin:/usr/sbin:/bin:/usr/bin:/go/bin
test --test_env=HOME=~/
## golangci-lint analyzers depends on go-ruleguard which requires GOROOT to be
## set so that it can load dynamic libraries.
test --test_env=GOROOT
# Test configs
# test --test_size_filters=small
# test:all --test_size_filters=
test --test_verbose_timeout_warnings=false
# Remote cache configs
build --experimental_remote_cache_async
build --experimental_remote_cache_compression
build --experimental_remote_merkle_tree_cache
build --experimental_remote_merkle_tree_cache_size=10000
build:remote-cache --bes_upload_mode=fully_async
build:remote-cache --bes_results_url=https://app.buildbuddy.io/invocation/
build:remote-cache --bes_backend=grpcs://remote.buildbuddy.io
build:remote-cache --remote_cache=grpcs://remote.buildbuddy.io
build:remote-cache --remote_timeout=3600
# Personal override (and creds)
try-import .user.bazelrc
## Sample .user.bazelrc ##
#
# build --config=remote-cache
# build --remote_header=x-buildbuddy-api-key=<api-key>