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
|
||||
.vscode
|
||||
.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);
|
||||
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"
|
||||
helm package $dir
|
||||
helm --debug package $dir
|
||||
done
|
||||
|
||||
cp $SRCROOT/*.tgz output/
|
||||
cd $SRCROOT/output && helm repo index .
|
||||
|
||||
|
|
Loading…
Reference in a new issue