fix: Remove archived subcharts

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>
This commit is contained in:
Carlos Juan Gómez Peñalver 2020-04-03 23:00:47 +01:00
parent dfafa0f7f4
commit 829e4d3e7e
5 changed files with 10 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
output output
.vscode .vscode
.DS_Store .DS_Store
*.tgz **/*.tgz

Binary file not shown.

Binary file not shown.

View file

@ -8,9 +8,16 @@ rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-hel
for dir in $(find $SRCROOT/charts -mindepth 1 -maxdepth 1 -type d); for dir in $(find $SRCROOT/charts -mindepth 1 -maxdepth 1 -type d);
do do
if [ $(helm dep list $dir 2>/dev/null| wc -l) -gt 1 ]
then
echo "Processing chart dependencies"
helm --debug dep build $dir
fi
echo "Processing $dir" echo "Processing $dir"
helm package $dir helm --debug package $dir
done done
cp $SRCROOT/*.tgz output/ cp $SRCROOT/*.tgz output/
cd $SRCROOT/output && helm repo index . cd $SRCROOT/output && helm repo index .