Add readme file

This commit is contained in:
Alexander Matyushentsev 2018-09-03 07:23:49 -07:00
parent 4daf72c423
commit 2d713a758b
4 changed files with 237 additions and 1 deletions

View file

@ -2,7 +2,7 @@
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
mkdir -p $SRCROOT/output
rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-helm.git $SRCROOT/output
for dir in $SRCROOT/charts/*;
do
@ -11,3 +11,10 @@ do
tar -cvzf $SRCROOT/output/$(basename $dir)-$version.tgz -C $dir .
cd $SRCROOT/output && helm repo index .
done
cd $SRCROOT/output && git status
if [ "$GIT_PUSH" == "true" ]
then
cd $SRCROOT/output && git add . && git commit -m "Publish charts" && git push git@github.com:argoproj/argo-helm.git gh-pages
fi