Fix bugs in CI set-up. (#144)
This commit is contained in:
parent
fc783d79d5
commit
ed127ea795
3 changed files with 9 additions and 3 deletions
|
@ -21,10 +21,13 @@ jobs:
|
||||||
- run: helm init --client-only
|
- run: helm init --client-only
|
||||||
# Only actually publish charts on master.
|
# Only actually publish charts on master.
|
||||||
- run: |
|
- run: |
|
||||||
|
set -x
|
||||||
if [ "$CIRCLE_BRANCH" = "master" ]; then
|
if [ "$CIRCLE_BRANCH" = "master" ]; then
|
||||||
echo 'export GIT_PUSH=true' >> $BASH_ENV
|
export GIT_PUSH=true
|
||||||
|
else
|
||||||
|
export GIT_PUSH=false
|
||||||
fi
|
fi
|
||||||
- run: sh ./scripts/publish.sh
|
sh ./scripts/publish.sh
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
workflow:
|
workflow:
|
||||||
|
|
3
.github/pull_request_template.md
vendored
3
.github/pull_request_template.md
vendored
|
@ -4,3 +4,6 @@ Checklist:
|
||||||
* [ ] 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 and the build is green.
|
* [ ] I have signed the CLA and the build is green.
|
||||||
|
* [ ] I will test my changes again once merged to master and published.
|
||||||
|
|
||||||
|
Changes are automatically published when merged to `master`. They are not published on branches.
|
|
@ -2,7 +2,7 @@
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
GIT_PUSH=${GIT_PUSH:-true}
|
GIT_PUSH=${GIT_PUSH:-false}
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue