Fix regression since 0.90.0 that Helmfile becomes too slow when there are many releases (#964)

* Fix regression since 0.90.0 that Helmfile becomes too slow when there are many releases

Fixes #959

* Ensure that the up-to-date helm-diff is installed and used in integration tests
This commit is contained in:
KUOKA Yusuke
2019-11-14 20:57:04 +09:00
committed by GitHub
parent ada5f05b36
commit f466800e1a
2 changed files with 66 additions and 44 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ if helm version --client 1>/dev/null 2>/dev/null; then
else
info "Using Helm version: $(helm version --short | grep -o v.*$)"
fi
${helm} plugin install https://github.com/databus23/helm-diff --version master
${helm} plugin install https://github.com/databus23/helm-diff --version v3.0.0-rc.7
${kubectl} get namespace ${test_ns} &> /dev/null && warn "Namespace ${test_ns} exists, from a previous test run?"
$kubectl create namespace ${test_ns} || fail "Could not create namespace ${test_ns}"
trap "{ $kubectl delete namespace ${test_ns}; }" EXIT # remove namespace whenever we exit this script