mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[ci/packer] fix type and skip delete of kibana checkout
This commit is contained in:
parent
6a0d45ad90
commit
ac5da1ec94
1 changed files with 2 additions and 5 deletions
|
@ -43,12 +43,9 @@ tar -cf "$HOME/.kibana/bootstrap_cache/$branch.tar" \
|
|||
echo "created $HOME/.kibana/bootstrap_cache/$branch.tar"
|
||||
|
||||
if [ "$branch" == "master" ]; then
|
||||
echo "Creatting bootstrap cache for 7.x";
|
||||
echo "Creating bootstrap cache for 7.x";
|
||||
|
||||
git clone https://github.com/elastic/kibana.git --branch 7.x --depth 1 /tmp/kibana-7.x
|
||||
cd /tmp/kibana-7.x;
|
||||
rm -rf $KIBANA_DIR;
|
||||
./.ci/packer_cache.sh;
|
||||
cd ~
|
||||
(cd /tmp/kibana-7.x && ./.ci/packer_cache.sh);
|
||||
rm -rf /tmp/kibana-7.x;
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue