Skip to content

Commit

Permalink
Test set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriscos committed Nov 27, 2024
1 parent 29ff84a commit a77cf5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test-packages/install-plugins.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set -e

plugins=$(ls /tmp)
for plugin in $plugins; do
echo $plugin
/usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install file:///tmp/$plugin/$(ls /tmp/$plugin)
/usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin install file:///tmpf/$plugin/$(ls /tmp/$plugin)
done
echo "All plugins installed successfully"

0 comments on commit a77cf5c

Please sign in to comment.