changes on master to scripts/publish.sh, (#135)
This commit is contained in:
parent
caf9ff6e49
commit
2d12ab4134
2 changed files with 4 additions and 2 deletions
1
.github/pull_request_template.md
vendored
1
.github/pull_request_template.md
vendored
|
@ -3,3 +3,4 @@ Checklist:
|
||||||
* [ ] I have update the chart version in `Chart.yaml` following Semantic Versioning.
|
* [ ] I have update the chart version in `Chart.yaml` following Semantic Versioning.
|
||||||
* [ ] Any new values are backwards compatible and/or have sensible default.
|
* [ ] Any new values are backwards compatible and/or have sensible default.
|
||||||
* [ ] I have followed the testing instructions in the [contributing guide](https://github.com/argoproj/argo-helm/blob/master/CONTRIBUTING.md).
|
* [ ] I have followed the testing instructions in the [contributing guide](https://github.com/argoproj/argo-helm/blob/master/CONTRIBUTING.md).
|
||||||
|
* [ ] I have signed the CLA.
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -eux
|
||||||
|
|
||||||
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
GIT_PUSH=${GIT_PUSH:-true}
|
GIT_PUSH=${GIT_PUSH:-true}
|
||||||
|
|
||||||
rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-helm.git $SRCROOT/output
|
rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-helm.git $SRCROOT/output
|
||||||
|
|
||||||
cd $SRCROOT/charts
|
for dir in $(find $SRCROOT/charts -mindepth 1 -maxdepth 1 -type d);
|
||||||
for dir in *;
|
|
||||||
do
|
do
|
||||||
echo "Processing $dir"
|
echo "Processing $dir"
|
||||||
helm package $dir
|
helm package $dir
|
||||||
done
|
done
|
||||||
|
cp $SRCROOT/*.tgz output/
|
||||||
cd $SRCROOT/output && helm repo index .
|
cd $SRCROOT/output && helm repo index .
|
||||||
|
|
||||||
cd $SRCROOT/output && git status
|
cd $SRCROOT/output && git status
|
||||||
|
|
Loading…
Reference in a new issue