fix(ci): unpack dep from tarball instead instead of git

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>
This commit is contained in:
Lucas Bickel 2021-01-26 10:03:08 +01:00
parent 580edfb826
commit 3a80eb235f

View file

@ -16,15 +16,15 @@ do
if [ $(helm dep list $dir 2>/dev/null| wc -l) -gt 1 ]
then
echo "Processing chart dependencies"
helm --debug dep build $dir
# Bug with Helm subcharts with hyphen on them
# https://github.com/argoproj/argo-helm/pull/270#issuecomment-608695684
if [ "$name" == "argo-cd" ]
then
echo "Restore ArgoCD RedisHA subchart"
git checkout $dir
tar -C $dir/charts -xf $dir/charts/redis-ha-*.tgz
fi
echo "Processing chart dependencies"
helm --debug dep build $dir
fi
echo "Processing $dir"