-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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 observability-add-data-links
- Loading branch information
Showing
989 changed files
with
45,781 additions
and
10,972 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
branch="$1" | ||
checkoutDir="$(pwd)" | ||
|
||
if [[ "$branch" != "master" ]]; then | ||
checkoutDir="/tmp/kibana-$branch" | ||
git clone https://github.com/elastic/kibana.git --branch "$branch" --depth 1 "$checkoutDir" | ||
cd "$checkoutDir" | ||
fi | ||
|
||
source src/dev/ci_setup/setup.sh; | ||
|
||
# download es snapshots | ||
node scripts/es snapshot --download-only; | ||
node scripts/es snapshot --license=oss --download-only; | ||
|
||
# download reporting browsers | ||
(cd "x-pack" && yarn gulp prepare); | ||
|
||
# cache the chromedriver archive | ||
chromedriverDistVersion="$(node -e "console.log(require('chromedriver').version)")" | ||
chromedriverPkgVersion="$(node -e "console.log(require('./package.json').devDependencies.chromedriver)")" | ||
if [ -z "$chromedriverDistVersion" ] || [ -z "$chromedriverPkgVersion" ]; then | ||
echo "UNABLE TO DETERMINE CHROMEDRIVER VERSIONS" | ||
exit 1 | ||
fi | ||
mkdir -p .chromedriver | ||
curl "https://chromedriver.storage.googleapis.com/$chromedriverDistVersion/chromedriver_linux64.zip" > .chromedriver/chromedriver.zip | ||
echo "$chromedriverPkgVersion" > .chromedriver/pkgVersion | ||
|
||
# cache the geckodriver archive | ||
geckodriverPkgVersion="$(node -e "console.log(require('./package.json').devDependencies.geckodriver)")" | ||
if [ -z "$geckodriverPkgVersion" ]; then | ||
echo "UNABLE TO DETERMINE geckodriver VERSIONS" | ||
exit 1 | ||
fi | ||
mkdir -p ".geckodriver" | ||
cp "node_modules/geckodriver/geckodriver.tar.gz" .geckodriver/geckodriver.tar.gz | ||
echo "$geckodriverPkgVersion" > .geckodriver/pkgVersion | ||
|
||
echo "Creating bootstrap_cache archive" | ||
|
||
# archive cacheable directories | ||
mkdir -p "$HOME/.kibana/bootstrap_cache" | ||
tar -cf "$HOME/.kibana/bootstrap_cache/$branch.tar" \ | ||
x-pack/plugins/reporting/.chromium \ | ||
.es \ | ||
.chromedriver \ | ||
.geckodriver; | ||
|
||
echo "Adding node_modules" | ||
# Find all of the node_modules directories that aren't test fixtures, and aren't inside other node_modules directories, and append them to the tar | ||
find . -type d -name node_modules -not -path '*__fixtures__*' -prune -print0 | xargs -0I % tar -rf "$HOME/.kibana/bootstrap_cache/$branch.tar" "%" | ||
|
||
echo "created $HOME/.kibana/bootstrap_cache/$branch.tar" | ||
|
||
if [[ "$branch" != "master" ]]; then | ||
rm --preserve-root -rf "$checkoutDir" | ||
fi |
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
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
17 changes: 17 additions & 0 deletions
17
...lopment/core/server/kibana-plugin-core-server.pluginmanifest.extrapublicdirs.md
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [PluginManifest](./kibana-plugin-core-server.pluginmanifest.md) > [extraPublicDirs](./kibana-plugin-core-server.pluginmanifest.extrapublicdirs.md) | ||
|
||
## PluginManifest.extraPublicDirs property | ||
|
||
> Warning: This API is now obsolete. | ||
> | ||
> | ||
Specifies directory names that can be imported by other ui-plugins built using the same instance of the @<!-- -->kbn/optimizer. A temporary measure we plan to replace with better mechanisms for sharing static code between plugins | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly extraPublicDirs?: string[]; | ||
``` |
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
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
11 changes: 0 additions & 11 deletions
11
...plugins/data/server/kibana-plugin-plugins-data-server.isearchcontext.config_.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...nt/plugins/data/server/kibana-plugin-plugins-data-server.isearchcontext.core.md
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...lopment/plugins/data/server/kibana-plugin-plugins-data-server.isearchcontext.md
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.