Update fetch_helm_deps.sh
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
4
.github/scripts/fetch_helm_deps.sh
vendored
4
.github/scripts/fetch_helm_deps.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user