added installation script, plugin works when installed

This commit is contained in:
Claudio Maggioni 2023-05-02 21:36:23 +02:00
parent b4e6209f9a
commit e05bcff94c
1 changed files with 14 additions and 0 deletions

14
install-on-ec.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -e
ES_LOCATION="$HOME/bin/elasticsearch-8.6.2/"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR"
# Build the ingestor plugin
./gradlew build
"${ES_LOCATION}/bin/elasticsearch-plugin" install --batch "file:///${SCRIPT_DIR}/build/distributions/ingest-lookup-8.6.2.zip"