[ci] cache reporting browsers in packer (#26195)
This commit is contained in:
parent
76635eb985
commit
44414c68b3
|
@ -3,9 +3,14 @@
|
|||
# run setup script that gives us node, yarn, and bootstraps the project
|
||||
source "src/dev/ci_setup/setup.sh";
|
||||
|
||||
# cache es snapshots
|
||||
# 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" \
|
||||
|
@ -13,4 +18,6 @@ tar -cf "$HOME/.kibana/bootstrap_cache/master.tar" \
|
|||
packages/*/node_modules \
|
||||
x-pack/node_modules \
|
||||
x-pack/plugins/*/node_modules \
|
||||
x-pack/plugins/reporting/.chromium \
|
||||
x-pack/plugins/reporting/.phantom \
|
||||
.es;
|
||||
|
|
Loading…
Reference in a new issue