Skip to content

Commit

Permalink
Update helm dependency before building (#373)
Browse files Browse the repository at this point in the history
To ensure requirements.lock is in sync with requirements.yaml
helm/helm#2033
  • Loading branch information
davidheryanto committed Dec 18, 2019
1 parent bc4b974 commit ec0db7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .prow/scripts/sync-helm-charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'."
Expand Down

0 comments on commit ec0db7c

Please sign in to comment.