Skip to content

Commit 8876faf

Browse files
authored
Merge pull request #13 from src-d/add-cd
Add Helm release to staging
2 parents b07b8d4 + 703b069 commit 8876faf

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.helm_staging.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
app:
2+
dataServiceUrl: ipv4://lookout:10301
3+
4+
nodeSelector:
5+
srcd.host/app: lookout

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ jobs:
5353
script:
5454
- PKG_OS=linux make packages
5555
- DOCKER_PUSH_LATEST=true make docker-push
56+
- name: 'Deploy to staging'
57+
stage: release
58+
install:
59+
- make install-helm
60+
script:
61+
- HELM_RELEASE=lookout-gometalint-analyzer HELM_CHART=lookout-gometalint-analyzer K8S_NAMESPACE=lookout HELM_ARGS="--tiller-namespace=lookout --repo https://src-d.github.io/charts/ --set image.tag=$TRAVIS_TAG -f .helm_staging.yml" make deploy

0 commit comments

Comments
 (0)