Skip to content

Commit

Permalink
Merge branch '7.x' into backport/7.x/pr-89297
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Feb 8, 2021
2 parents 0cd79e0 + f4a456d commit 5be1f3b
Show file tree
Hide file tree
Showing 28,372 changed files with 162,142 additions and 109,769 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 1 addition & 2 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
.idea
.teamcity
.yarn-local-mirror
bazel-cache
bazel-dist
/bazel
build
node_modules
target
11 changes: 10 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Inspired on from https://raw.githubusercontent.com/bazelbuild/rules_nodejs/master/.bazelrc
# 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=$(pwd)/src/dev/bazel_workspace_status.sh
# Enable this in case you want to share your build info
# build --build_metadata=VISIBILITY=PUBLIC
build --build_metadata=TEST_GROUPS=//packages

23 changes: 13 additions & 10 deletions .bazelrc.common
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,22 @@
#
# The full list of Bazel options: https://docs.bazel.build/versions/master/command-line-reference.html

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

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

## Bazel repo cache settings
build --repository_cache=~/.bazel-cache/repository-cache

# Bazel will create symlinks from the workspace directory to output artifacts.
# Build results will be placed in a directory called "bazel-dist/bin"
# Build results will be placed in a directory called "bazel/bin"
# This will still create a bazel-out symlink in
# the project directory, which must be excluded from the
# editor's search path.
build --symlink_prefix=bazel-dist/
build --symlink_prefix=bazel/
# To disable the symlinks altogether (including bazel-out) we can use
# build --symlink_prefix=/
# however this makes it harder to find outputs.
Expand All @@ -37,9 +41,7 @@ common --color=yes
build --show_task_finish
build --noshow_progress
build --noshow_loading_progress

## enforced default values
build --show_result=1
build --show_result=0

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

# Turn off legacy external runfiles
# This prevents accidentally depending on this feature, which Bazel will remove.
Expand Down
21 changes: 0 additions & 21 deletions .ci/teamcity/bootstrap.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/bundle_limits.sh

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/teamcity/checks/commit.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .ci/teamcity/checks/commit_check_runner.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/doc_api_changes.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/eslint.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/file_casing.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/i18n.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/jest_configs.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/licenses.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/plugins_with_circular_deps.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/stylelint.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/telemetry.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/test_hardening.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/ts_projects.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/type_check.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/teamcity/checks/verify_notice.sh

This file was deleted.

59 changes: 0 additions & 59 deletions .ci/teamcity/ci_stats.js

This file was deleted.

18 changes: 0 additions & 18 deletions .ci/teamcity/ci_stats_complete.js

This file was deleted.

16 changes: 0 additions & 16 deletions .ci/teamcity/default/accessibility.sh

This file was deleted.

32 changes: 0 additions & 32 deletions .ci/teamcity/default/build.sh

This file was deleted.

Loading

0 comments on commit 5be1f3b

Please sign in to comment.