Update fetch_helm_deps.sh
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
@@ -101,7 +101,7 @@ for idx in $(eval echo "{0..$length}"); do
|
|||||||
|
|
||||||
if [ ! $? ]; then
|
if [ ! $? ]; then
|
||||||
echo "❌ wget encountered an error..."
|
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 build "$charts_path/$train_chart/Chart.yaml" || \
|
||||||
helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1
|
helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1
|
||||||
else
|
else
|
||||||
@@ -118,7 +118,7 @@ for idx in $(eval echo "{0..$length}"); do
|
|||||||
else
|
else
|
||||||
echo "❌ Failed to download dependency"
|
echo "❌ Failed to download dependency"
|
||||||
# Try helm dependency build/update or otherwise fail fast if a dep fails to download...
|
# 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 build "$charts_path/$train_chart/Chart.yaml" || \
|
||||||
helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1
|
helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user