Echo the elastic search version

This commit is contained in:
Brenda Wallace
2019-07-29 16:24:50 +12:00
parent 8975e52521
commit 2c69b5a99c

View File

@@ -3,6 +3,7 @@
if [ "${GROWSTUFF_ELASTICSEARCH}" = "true" ]; then
[[ -z "$VERSION" ]] && VERSION="6.2.3"
set -euv
echo "Installing elasticsearch $VERSION"
sudo dpkg -r elasticsearch
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}.deb.sha512