-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathci.bazelrc
More file actions
82 lines (67 loc) · 2.99 KB
/
Copy pathci.bazelrc
File metadata and controls
82 lines (67 loc) · 2.99 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#############################################################################
# common
#############################################################################
build --color=yes
build --verbose_failures
fetch --color=yes
run --color=yes
#############################################################################
# ci
#############################################################################
common:ci --noshow_progress
common:ci --noshow_loading_progress
common:ci --test_output=errors
build:remote-ci --config=ci
build:remote-ci --remote_download_minimal
#############################################################################
# remote
#############################################################################
## RBE (Engflow Envoy)
# this is not included in the `--config=rbe` target - set it to publish to engflow ui
common:bes --bes_backend=grpcs://mordenite.cluster.engflow.com/
common:bes --bes_results_url=https://mordenite.cluster.engflow.com/invocation/
common:bes --bes_timeout=3600s
common:bes --bes_upload_mode=fully_async
common:bes --nolegacy_important_outputs
common:engflow-common --google_default_credentials=false
common:engflow-common --credential_helper=*.engflow.com=%workspace%/bazel/engflow-bazel-credential-helper.sh
common:engflow-common --grpc_keepalive_time=60s
common:engflow-common --grpc_keepalive_timeout=30s
common:engflow-common --remote_cache_compression
# Recover from transient gRPC failures (e.g. UNAVAILABLE: io exception) talking to engflow.
common:engflow-common --remote_retries=10
common:engflow-common --remote_retry_max_delay=60s
# Recover when blobs are evicted from the CAS mid-build (common during patch releases).
common:engflow-common --experimental_remote_cache_eviction_retries=5
# this provides access to RBE+cache
common:rbe --config=remote-cache
common:rbe --config=remote-exec
# this provides access to just cache
common:remote-cache --config=engflow-common
common:remote-cache --remote_cache=grpcs://mordenite.cluster.engflow.com
common:remote-cache --remote_timeout=3600s
common:remote-exec --remote_executor=grpcs://mordenite.cluster.engflow.com
common:remote-exec --jobs=200
common:remote-exec --define=engflow_rbe=true
common:remote-exec --host_platform=@clang_platform
#############################################################################
# debug: Various Bazel debugging flags
#############################################################################
# debug/bazel
common:debug-bazel --announce_rc
common:debug-bazel -s
# debug/sandbox
common:debug-sandbox --verbose_failures
common:debug-sandbox --sandbox_debug
# debug/coverage
common:debug-coverage --action_env=VERBOSE_COVERAGE=true
common:debug-coverage --test_env=VERBOSE_COVERAGE=true
common:debug-coverage --test_env=DISPLAY_LCOV_CMD=true
common:debug-coverage --config=debug-tests
# debug/tests
common:debug-tests --test_output=all
# debug/everything
common:debug --config=debug-bazel
common:debug --config=debug-sandbox
common:debug --config=debug-coverage
common:debug --config=debug-tests