-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
30 lines (29 loc) · 1.41 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
env:
global:
- HELM_URL=https://get.helm.sh
- HELM_TGZ=helm-v2.14.3-linux-amd64.tar.gz
- GH_URL=https://strapdata.github.io/helm-charts
- secure: "W5/Qtf/yMIJDefUj5h94ev/+qpUKLdkfR2MdYCwGaITN9Kt3mb4sStbdjIllIoYF2K09yUXWXGzFQU66RcK09y6fm0Iu3GTJV8wDft/CR7QtCe8reoGt6GXufqce8+GljRg771G/NN1lD9Lhd5RsfR9LIR+QVIirlBiPOVfhSklXVKxaj4xeL9uQzBrSSlN6UUeDWE+vPFjB+ictxxZ5ElkK0G+I5YRK2qQuPiHynmE2H5JyuXDU73WKstDcAGT3n5o9mFyVGg3361j4LglvBOMowUFL/0daBrEsMkeYyjUPbCO3XVzNn5q0dgKPcVfbCdStyERo/9s+5KQHXfgtf5+3MClENEP/NWREM3SxH9n763bNiQEpbX/XVDOI0e88GGnKZ2cmVxeRXjfxCA42qTEibhIXAYMUIZ4jghXXXOcDH9dFsR2xou9JAC4rZ0sp9ze10YhB7+RDLKPsO64Q6CJHm1WbLG1Mwo/0fopRKlUhsz6KVZXj3QM7cM6Brk/1hlvNJcmIzQ3JPZJktCLVkqkqgBKke4/SrMsTWK0apmO0uKnsCZX6csEcN9NYpJOGPhgbGTkkjkNSSS4IirhS8wKTtIwjWhlkyBe/C9pXxZ/N/dRIeqz7XreW4yFAzBCWxVCXIjrGPgNJipcFDrM6JoYwvB1oyAmZy9BIhxIFImc="
before_script:
- wget -q ${HELM_URL}/${HELM_TGZ}
- tar xzfv ${HELM_TGZ}
- export PATH=`pwd`/linux-amd64/:$PATH
- helm init --client-only
script:
- git clone -b gh-pages https://github.com/strapdata/helm-charts.git build
- |
for dir in ${TRAVIS_BUILD_DIR}/charts/*; do
helm dep update $dir
helm lint $dir
helm package -d ${TRAVIS_BUILD_DIR}/build $dir
done
- helm repo index --url ${GH_URL} ${TRAVIS_BUILD_DIR}/build
deploy:
provider: pages
local-dir: build
skip-cleanup: true
keep-history: true
github-token: "$GITHUB_TOKEN"
committer-from-gh: true
on:
branch: master