Skip to content

Commit f1e92ec

Browse files
committed
Merge master / fix conflicts
2 parents 4e4637f + d152723 commit f1e92ec

File tree

28,283 files changed

+138677
-105055
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

28,283 files changed

+138677
-105055
lines changed

.bazelignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
.idea
99
.teamcity
1010
.yarn-local-mirror
11-
bazel-cache
12-
bazel-dist
11+
/bazel
1312
build
1413
node_modules
1514
target

.bazelrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
# Inspired on from https://raw.githubusercontent.com/bazelbuild/rules_nodejs/master/.bazelrc
1+
# Inspired by https://raw.githubusercontent.com/bazelbuild/rules_nodejs/master/.bazelrc
22
# Import shared settings first so we can override below
33
import %workspace%/.bazelrc.common
44

5+
## Disabled for now
56
# Remote cache settings for local env
67
# build --remote_cache=https://storage.googleapis.com/kibana-bazel-cache
78
# build --incompatible_remote_results_ignore_disk=true
89
# build --remote_accept_cached=true
910
# build --remote_upload_local_results=false
11+
12+
# BuildBuddy
13+
## Metadata settings
14+
build --workspace_status_command=$(pwd)/src/dev/bazel_workspace_status.sh
15+
# Enable this in case you want to share your build info
16+
# build --build_metadata=VISIBILITY=PUBLIC
17+
build --build_metadata=TEST_GROUPS=//packages
18+

.bazelrc.common

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@
55
#
66
# The full list of Bazel options: https://docs.bazel.build/versions/master/command-line-reference.html
77

8-
# Cache action outputs on disk so they persist across output_base and bazel shutdown (eg. changing branches)
9-
build --disk_cache=bazel-cache/disk-cache
8+
# Local Cache Settings
9+
## Avoid cache results from being corrupt when changing source during build
10+
common --experimental_guard_against_concurrent_changes
1011

11-
# Bazel repo cache settings
12-
build --repository_cache=bazel-cache/repository-cache
12+
## Cache action outputs on disk so they persist across output_base and bazel shutdown (eg. changing branches)
13+
build --disk_cache=~/.bazel-cache/disk-cache
14+
15+
## Bazel repo cache settings
16+
build --repository_cache=~/.bazel-cache/repository-cache
1317

1418
# Bazel will create symlinks from the workspace directory to output artifacts.
15-
# Build results will be placed in a directory called "bazel-dist/bin"
19+
# Build results will be placed in a directory called "bazel/bin"
1620
# This will still create a bazel-out symlink in
1721
# the project directory, which must be excluded from the
1822
# editor's search path.
19-
build --symlink_prefix=bazel-dist/
23+
build --symlink_prefix=bazel/
2024
# To disable the symlinks altogether (including bazel-out) we can use
2125
# build --symlink_prefix=/
2226
# however this makes it harder to find outputs.
@@ -37,9 +41,7 @@ common --color=yes
3741
build --show_task_finish
3842
build --noshow_progress
3943
build --noshow_loading_progress
40-
41-
## enforced default values
42-
build --show_result=1
44+
build --show_result=0
4345

4446
# Specifies desired output mode for running tests.
4547
# Valid values are
@@ -78,7 +80,8 @@ test:debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999
7880
# The node process will break before user code starts and wait for the debugger to connect.
7981
run:debug --define=VERBOSE_LOGS=1 -- --node_options=--inspect-brk
8082
# The following option will change the build output of certain rules such as terser and may not be desirable in all cases
81-
build:debug --compilation_mode=dbg
83+
# It will also output both the repo cache and action cache to a folder inside the repo
84+
build:debug --compilation_mode=dbg --show_result=1 --disk_cache=bazel/disk-cache --repository_cache=bazel/repository-cache
8285

8386
# Turn off legacy external runfiles
8487
# This prevents accidentally depending on this feature, which Bazel will remove.

.ci/teamcity/bootstrap.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

.ci/teamcity/checks/bundle_limits.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.ci/teamcity/checks/commit.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

.ci/teamcity/checks/commit_check_runner.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.ci/teamcity/checks/doc_api_changes.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.ci/teamcity/checks/eslint.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.ci/teamcity/checks/file_casing.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)