-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.bazelrc
55 lines (46 loc) · 1.71 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
47
48
49
50
51
52
53
54
55
common --noenable_bzlmod
# 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=
# Remote cache configs
build --remote_timeout=3600
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 --remote_cache=grpcs://remote.buildbuddy.io
build:remote-cache --bes_upload_mode=fully_async
# BuildBuddy config
build:workflows --config=buildbuddy_bes_backend
build:workflows --config=buildbuddy_bes_results_url
build:workflows --config=buildbuddy_remote_cache
## TODO: remove this once BuildBuddy folks confirmed that
## the bug has been fixed on their end regarding command is
## not publicly displayed.
build:workflows --build_metadata=VISIBILITY=PUBLIC
test:workflows --keep_going
# Personal override (and creds)
try-import .user.bazelrc
## Sample .user.bazelrc ##
#
# build --config=local-remote-cache
# build --remote_header=x-buildbuddy-api-key=<api-key>