-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nls/apm-sb
- Loading branch information
Showing
1,719 changed files
with
313,284 additions
and
9,998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.aws-config.json | ||
.signing-config.json | ||
/api_docs | ||
.ackrc | ||
/.es | ||
/.chromium | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,68 @@ | ||
# Define the workspace base name and a managed directory by bazel | ||
# that will hold the node_modules called @npm | ||
workspace( | ||
name = "kibana", | ||
name = "kibana", | ||
managed_directories = {"@npm": ["node_modules"]}, | ||
) | ||
|
||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
|
||
# Fetch Node.js rules | ||
http_archive( | ||
name = "build_bazel_rules_nodejs", | ||
sha256 = "bfacf15161d96a6a39510e7b3d3b522cf61cb8b82a31e79400a84c5abcab5347", | ||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.2.1/rules_nodejs-3.2.1.tar.gz"], | ||
) | ||
|
||
# Now that we have the rules let's import from them to complete the work | ||
load("@build_bazel_rules_nodejs//:index.bzl", "check_rules_nodejs_version", "node_repositories", "yarn_install") | ||
|
||
# Assure we have at least a given rules_nodejs version | ||
check_rules_nodejs_version(minimum_version_string = "3.2.1") | ||
|
||
# Setup the Node.js toolchain for the architectures we want to support | ||
# | ||
# NOTE: darwin-arm64 is not being installed because bazel is not yet available on that architecture. | ||
# The PR for it was merged and should be available in the next release of bazel and bazelisk. As soon as they have it | ||
# we can update that rule. | ||
node_repositories( | ||
node_repositories = { | ||
"14.16.0-darwin_amd64": ("node-v14.16.0-darwin-x64.tar.gz", "node-v14.16.0-darwin-x64", "14ec767e376d1e2e668f997065926c5c0086ec46516d1d45918af8ae05bd4583"), | ||
"14.16.0-linux_arm64": ("node-v14.16.0-linux-arm64.tar.xz", "node-v14.16.0-linux-arm64", "440489a08bfd020e814c9e65017f58d692299ac3f150c8e78d01abb1104c878a"), | ||
"14.16.0-linux_s390x": ("node-v14.16.0-linux-s390x.tar.xz", "node-v14.16.0-linux-s390x", "335348e46f45284b6356416ef58f85602d2dee99094588b65900f6c8839df77e"), | ||
"14.16.0-linux_amd64": ("node-v14.16.0-linux-x64.tar.xz", "node-v14.16.0-linux-x64", "2e079cf638766fedd720d30ec8ffef5d6ceada4e8b441fc2a093cb9a865f4087"), | ||
"14.16.0-windows_amd64": ("node-v14.16.0-win-x64.zip", "node-v14.16.0-win-x64", "716045c2f16ea10ca97bd04cf2e5ef865f9c4d6d677a9bc25e2ea522b594af4f"), | ||
}, | ||
node_version = "14.16.0", | ||
node_urls = [ | ||
"https://nodejs.org/dist/v{version}/{filename}", | ||
], | ||
yarn_repositories = { | ||
"1.21.1": ("yarn-v1.21.1.tar.gz", "yarn-v1.21.1", "d1d9f4a0f16f5ed484e814afeb98f39b82d4728c6c8beaafb5abc99c02db6674"), | ||
}, | ||
yarn_version = "1.21.1", | ||
yarn_urls = [ | ||
"https://github.com/yarnpkg/yarn/releases/download/v{version}/{filename}", | ||
], | ||
package_json = ["//:package.json"], | ||
) | ||
|
||
# Run yarn_install rule to take care of dependencies | ||
# | ||
# NOTE: FORCE_COLOR env var forces colors on non tty mode | ||
yarn_install( | ||
name = "npm", | ||
environment = { | ||
"FORCE_COLOR": "True", | ||
}, | ||
package_json = "//:package.json", | ||
yarn_lock = "//:yarn.lock", | ||
data = [ | ||
"//:.yarnrc", | ||
"//:preinstall_check.js", | ||
"//:node_modules/.yarn-integrity", | ||
], | ||
symlink_node_modules = True, | ||
quiet = False, | ||
frozen_lockfile = False, | ||
) |
Oops, something went wrong.