2021-02-03 23:02:34 +01:00
|
|
|
# Inspired by https://raw.githubusercontent.com/bazelbuild/rules_nodejs/master/.bazelrc
|
2021-01-28 15:26:01 +01:00
|
|
|
# Import shared settings first so we can override below
|
|
|
|
import %workspace%/.bazelrc.common
|
|
|
|
|
2021-02-06 00:45:30 +01:00
|
|
|
## Disabled for now
|
2021-01-28 15:26:01 +01:00
|
|
|
# Remote cache settings for local env
|
|
|
|
# build --remote_cache=https://storage.googleapis.com/kibana-bazel-cache
|
|
|
|
# build --incompatible_remote_results_ignore_disk=true
|
|
|
|
# build --remote_accept_cached=true
|
|
|
|
# build --remote_upload_local_results=false
|
2021-02-06 00:45:30 +01:00
|
|
|
|
|
|
|
# BuildBuddy
|
|
|
|
## Metadata settings
|
2021-02-08 23:24:14 +01:00
|
|
|
build --workspace_status_command="node ./src/dev/bazel_workspace_status.js"
|
2021-02-06 00:45:30 +01:00
|
|
|
# Enable this in case you want to share your build info
|
|
|
|
# build --build_metadata=VISIBILITY=PUBLIC
|
|
|
|
build --build_metadata=TEST_GROUPS=//packages
|
|
|
|
|
2021-03-03 18:37:20 +01:00
|
|
|
###############################
|
|
|
|
# Offline Support #
|
|
|
|
# Turn on these settings with #
|
|
|
|
# --config=offline #
|
|
|
|
###############################
|
|
|
|
|
|
|
|
## Reset remote cache and backend support
|
|
|
|
build:offline --bes_backend="" --remote_cache=""
|
|
|
|
run:offline --bes_backend="" --remote_cache=""
|