From 1853c3108b4af0ec7f8194bd5ac28de71f6cbb71 Mon Sep 17 00:00:00 2001 From: David Heryanto Date: Wed, 18 Dec 2019 14:16:30 +0800 Subject: [PATCH] Update helm dependency before building To ensure requirements.lock is in sync with requirements.yaml https://github.com/helm/helm/issues/2033 --- .prow/scripts/sync-helm-charts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.prow/scripts/sync-helm-charts.sh b/.prow/scripts/sync-helm-charts.sh index 88fc04f7d14..8c242aeae69 100755 --- a/.prow/scripts/sync-helm-charts.sh +++ b/.prow/scripts/sync-helm-charts.sh @@ -31,7 +31,7 @@ fi exit_code=0 for dir in "$repo_dir"/*; do - if helm dependency build "$dir"; then + if helm dep update "$dir" && helm dep build "$dir"; then helm package --destination "$sync_dir" "$dir" else log_error "Problem building dependencies. Skipping packaging of '$dir'."