From bd86518abce71ab5b688c3b67bdf30eae7548e66 Mon Sep 17 00:00:00 2001 From: Mariusz Sabath Date: Mon, 1 May 2023 16:32:58 -0400 Subject: [PATCH] Fixing shellcheck Signed-off-by: Mariusz Sabath --- .github/tests/tornjak/post-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/tests/tornjak/post-install.sh b/.github/tests/tornjak/post-install.sh index 50b34af..d2b9a8d 100755 --- a/.github/tests/tornjak/post-install.sh +++ b/.github/tests/tornjak/post-install.sh @@ -5,6 +5,10 @@ set -x SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") + +# shellcheck source=/dev/null +source "${SCRIPTPATH}/../common.sh" + k_wait=(kubectl wait --for condition=available --timeout 30s --namespace) k_rollout_status=(kubectl rollout status --watch --timeout 30s --namespace) @@ -48,7 +52,7 @@ EOF kubectl -n spire-server get service spire-tornjak-frontend -if [ $1 -ne 0 ]; then +if [ "$1" -ne 0 ]; then get_namespace_details spire-server get_namespace_details spire-system fi