kibana/.ci/packer_cache.sh
Tiago Costa 42102bad0e
[6.x] Create vendor dll for the client modules (#22618) (#26707)
* chore(NA): merge and solve conflicts with 6.x when backporting.

* chore(NA): updated kbn pm file.
2018-12-05 19:48:33 +00:00

26 lines
635 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 \
x-pack/plugins/reporting/.phantom \
test/plugin_functional/plugins/*/node_modules \
.es;