86f1684076
* chore(NA): full WORKSPACE.bazel logic plus manage yarn dependencies with Bazel * chore(NA): update BUILD.bazel files comments on root and packages * chore(NA): add workspace file with useful data * chore(NA): install deps through bazel * chore(NA): update workspace file * chore(NA): update into last rules nodejs * chore(NA): ensure bazel always run yarn install * chore(NA): support offline mode * chore(NA): remove elastic-datemath * chore(NA): restore bazel 4.0.0 * chore(NA): update kbn pm dist * chore(NA): introduce force-install command * docs(NA): update docs with new yarn kbn bootstrap flags * chore(NA): use path.resolve on kbn bootstrap integrity check verification * chore(NA): update .yarnrc Co-authored-by: Tyler Smalley <tylersmalley@me.com> * chore(NA): change cli argument typo * chore(NA): fix spacing on kbn pm cli Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Tyler Smalley <tylersmalley@me.com>
27 lines
1,002 B
Text
27 lines
1,002 B
Text
# Inspired by https://raw.githubusercontent.com/bazelbuild/rules_nodejs/master/.bazelrc
|
|
# Import shared settings first so we can override below
|
|
import %workspace%/.bazelrc.common
|
|
|
|
## Disabled for now
|
|
# 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
|
|
|
|
# BuildBuddy
|
|
## Metadata settings
|
|
build --workspace_status_command="node ./src/dev/bazel_workspace_status.js"
|
|
# Enable this in case you want to share your build info
|
|
# build --build_metadata=VISIBILITY=PUBLIC
|
|
build --build_metadata=TEST_GROUPS=//packages
|
|
|
|
###############################
|
|
# 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=""
|