Add readme file
This commit is contained in:
parent
4daf72c423
commit
2d713a758b
4 changed files with 237 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue