fix: Remove archived subcharts
Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>
This commit is contained in:
parent
dfafa0f7f4
commit
829e4d3e7e
5 changed files with 10 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
||||||
output
|
output
|
||||||
.vscode
|
.vscode
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.tgz
|
**/*.tgz
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||||
echo "Processing $dir"
|
if [ $(helm dep list $dir 2>/dev/null| wc -l) -gt 1 ]
|
||||||
helm package $dir
|
then
|
||||||
|
echo "Processing chart dependencies"
|
||||||
|
helm --debug dep build $dir
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Processing $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 .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue