-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (31 loc) · 935 Bytes
/
.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
32
33
34
sudo: required
language: minimal
before_install:
- wget https://storage.googleapis.com/kubernetes-helm/helm-v2.12.0-linux-amd64.tar.gz
- tar -zxvf helm-v2.12.0-linux-amd64.tar.gz
- sudo mv linux-amd64/helm /usr/local/bin/helm
- helm init --client-only
- mkdir manifests
script:
# blue-green app
- mkdir manifests/blue-green
- helm package apps/blue-green
- mv blue-green-1.0.0.tgz manifests/blue-green
- mv apps/blue-green/values-devel.yaml manifests/blue-green
- mv apps/blue-green/values-prod.yaml manifests/blue-green
# me app
- mkdir manifests/me
- helm package apps/me
- mv me-1.0.0.tgz manifests/me
- mv apps/me/values-devel.yaml manifests/me
- mv apps/me/values-prod.yaml manifests/me
deploy:
provider: gcs
access_key_id: $GCS_ACCESS_KEY
secret_access_key: $GCS_ACCESS_SECRET
bucket: hugocortes
skip_cleanup: true
local-dir: manifests
acl: private
on:
all_branches: true