From 040e87f8ecf6f8eb91a2a7b3f435bc98f82604bb Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 24 May 2023 20:50:31 +0200 Subject: [PATCH] Update fetch_helm_deps.sh Signed-off-by: Kjeld Schouten --- .github/scripts/fetch_helm_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/fetch_helm_deps.sh b/.github/scripts/fetch_helm_deps.sh index 65970bb4d35..fb62434a9d4 100755 --- a/.github/scripts/fetch_helm_deps.sh +++ b/.github/scripts/fetch_helm_deps.sh @@ -101,7 +101,7 @@ for idx in $(eval echo "{0..$length}"); do if [ ! $? ]; then echo "❌ wget encountered an error..." - if [[ $train_chart == "incubator" ]] + if [[ $train_chart == "incubator" ]]; then helm dependency build "$charts_path/$train_chart/Chart.yaml" || \ helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1 else @@ -118,7 +118,7 @@ for idx in $(eval echo "{0..$length}"); do else echo "❌ Failed to download dependency" # Try helm dependency build/update or otherwise fail fast if a dep fails to download... - if [[ $train_chart == "incubator" ]] + if [[ $train_chart == "incubator" ]]; then helm dependency build "$charts_path/$train_chart/Chart.yaml" || \ helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1 else