From a32b1d1b5912a9801e82a39250c2456fb2c4a8ee Mon Sep 17 00:00:00 2001 From: Federico Rodriguez Date: Mon, 25 Nov 2024 13:46:59 +0100 Subject: [PATCH] Unzip package zips --- scripts/test-packages/install-plugins.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/test-packages/install-plugins.sh b/scripts/test-packages/install-plugins.sh index 6e9bc5505d..28e679c332 100644 --- a/scripts/test-packages/install-plugins.sh +++ b/scripts/test-packages/install-plugins.sh @@ -2,5 +2,10 @@ echo $plugins for plugin in $plugins; do echo $plugin - /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install file:///tmp/$plugin + unzip $plugin -d /unziped/ +done + plugins=$(ls /tmp/unziped) +for plugin in $plugins; do + echo $plugin + /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install file:///tmp/unziped/$plugin done