mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
* Use kibana-ci-proxy-cache for chrome and gecko drivers (#41581) * [ci] download chromedriver and geckodriver through a caching proxy * restore chromedriver and geckodriver caching in bootstrap cache # Conflicts: # .ci/packer_cache.sh # src/dev/ci_setup/setup.sh * remove some extra changes
25 lines
597 B
Bash
Executable file
25 lines
597 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# run setup script that gives us node, yarn, and bootstraps the project
|
|
source src/dev/ci_setup/setup.sh;
|
|
|
|
# download es snapshots
|
|
node scripts/es snapshot --download-only;
|
|
|
|
# download reporting browsers
|
|
cd "x-pack";
|
|
yarn gulp prepare;
|
|
cd -;
|
|
|
|
# archive cacheable directories
|
|
mkdir -p "$HOME/.kibana/bootstrap_cache"
|
|
tar -cf "$HOME/.kibana/bootstrap_cache/master.tar" \
|
|
node_modules \
|
|
packages/*/node_modules \
|
|
x-pack/node_modules \
|
|
x-pack/plugins/*/node_modules \
|
|
x-pack/plugins/reporting/.chromium \
|
|
test/plugin_functional/plugins/*/node_modules \
|
|
.es;
|