forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
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 alerting/consumer-based-rbac
* master: (89 commits) [Observability] Creates "Add data" links in all Observability app headers (elastic#69016) Remove unused deps (elastic#69243) fixes screenshots upload (elastic#69392) [APM] License feature tracking for service maps (elastic#69455) skip flaky suite (elastic#52854) [Maps] layer wizard select re-design (elastic#69313) [docker] add spaces settings (elastic#69019) [ML] Add Anomaly Swimlane Embeddable to the dashboard from the Anomaly Explorer page (elastic#68784) [Ingest Manager] Replace `datasources` with `inputs` when generating agent config (elastic#69226) Removing flaky axe rule (elastic#69418) [Ingest Pipelines] Add doc links to processor types (elastic#69279) [Endpoint] add policy data to Host list UI (elastic#69202) Drilldown docs 2 (elastic#69375) [APM] Replace ML index queries with searching via mlAnomalySearch API (elastic#69099) [Ingest Manager][Endpoint] Add Endpoint Create Policy flow with Ingest (elastic#68955) [DOCS] Updates titles in Maps docs (elastic#68703) [SIEM][Timeline] Minor timeline improvement (elastic#69386) Update dependency @elastic/charts to v19.5.2 (elastic#69126) [ML] Functional tests - Reduce DFA job model memory (elastic#69295) [ML] Functional tests - add more recognize and setup module API tests (elastic#69251) ...
- Loading branch information
Showing
1,023 changed files
with
51,147 additions
and
14,096 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
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.