-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
31 lines (31 loc) · 1.47 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
31
language: generic
dist: trusty
sudo: false
env:
global:
- HELM_VERSION="v2.12.3"
- USER="TravisCi"
- EMAIL="travis-ci@vooban.com"
- REPO="helm-charts"
- GH_REPO="github.com/vooban/${REPO}.git"
- secure: oXPZRNHI02uNoP11zKdWFL1O5Iq2i9cf4kT2PhO1idmhXelLcJCt/80N4d7ygY+LTbns3v856Sz+V0gKMihI8qmF0oAg9Heg3bIbH76SW8Gl+IhELw0YixJIwhTL0TmoSQkxJsN2k/39GmkNGo9rdGkO6ssCGDgFob2ok/m3DpJ10+DLtL3PifaSw0Bt2mMRmB1Bowx1ay+TBFZxwsm4mHv8dN22xh5oycO+LkzekDp6UdIOXdiDC1Gkb+W7MKNutfNCo++t2SqGO+I1fXE1DjO+qTfVNPJkxsiLu/jCbYjyAzej1tqIMMEjb85tDb9D4HgeN0PWHRNAEz0ox094xnHwv/uSmMdUmzJii69RQfvHlI8LiG5DzsDg/E012Fm6K61BLqZH2kS6XKHZKEXMn7dTnj+ul+u+gMKUw+3N9Q3bxOzeaQILIyMIPryQz747PzvJBeQVgrcdep4dDbDKjPvWzc8IqIwGq/c/jlOschsoP2LmzI9TfkRWmpFvuPVkPN9ojcEK+91doGDNkmLCNeqs7fXZ0+6KMvoJP8MKTRLflwGaydLmx87XfuZAzYOVhsfNhy9FFthLrHqADHw30qOVopnQ5uR1zFvA8iWIGvAptGy8SauzduE82KRgAx+M1RZn0mPJX3hMMOis1HhbbR5diptCmGzjPgkIxx3yW/4=
install:
- wget http://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz
-O /tmp/helm.tar.gz
- tar xzf /tmp/helm.tar.gz -C /tmp --strip-components=1
- chmod +x /tmp/helm
before_script:
- "/tmp/helm init --client-only"
script:
- "/tmp/helm lint */"
- "/tmp/helm package */"
- git clone git://${GH_REPO}
- mv -f *.tgz ${REPO}
- cd ${REPO}
- "/tmp/helm repo index --merge index.yaml ."
- git remote
- git config user.email ${EMAIL}
- git config user.name ${USER}
- git add .
- git commit -m "Update"
- git push "https://${GITHUB_API_KEY}@${GH_REPO}" master > /dev/null 2>&1