platform/tests/install-elastic-plugin.sh
Andrey Sobolev ea6d9d1517
Kanban keyboard shortcuts (#1469)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-04-21 14:40:15 +07:00

11 lines
423 B
Bash
Executable File

#!/bin/bash
# Usage
# ./install-elastic-plugin.sh sanity_elastic_1
curdir=$(dirname $0)
# Direct download, or use VPN.
#wget https://artifacts.elastic.co/downloads/elasticsearch-plugins/ingest-attachment/ingest-attachment-7.14.2.zip
docker cp $curdir/ingest-attachment-7.14.2.zip $1:/ingest-attachment-7.14.2.zip
docker exec -ti $1 ./bin/elasticsearch-plugin install file:///ingest-attachment-7.14.2.zip
docker restart $1