fix(argo-cd): remove charts/argo-cd/charts/redis-ha/ from git tree (#539)

* fix(argo-cd): remove charts/argo-cd/charts/redis-ha/ from git tree

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>

* 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 18:03:14 +01:00 committed by GitHub
parent 20b750a045
commit cce87f5163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 4 additions and 1845 deletions

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"