Skip to content

Commit 27ca7ea

Browse files
authored
Merge branch 'integration' into validation
2 parents 09ee312 + 773ca2e commit 27ca7ea

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.travis.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ before_install:
2626

2727
- travis/decrypt.sh "$encrypted_361547783275_key" "$encrypted_361547783275_iv"
2828
keys/service-accounts.tar.enc /tmp/service-accounts.tar /tmp
29-
- tar tvf /tmp/service-accounts.tar
3029
- echo Branch is ${TRAVIS_BRANCH} and Tag is $TRAVIS_TAG
3130

3231
# These directories will be cached on successful "script" builds, and restored,
@@ -221,6 +220,30 @@ deploy:
221220
all_branches: true
222221
condition: $TRAVIS_BRANCH == qp-sandbox-*
223222

223+
# STAGING: After code review and commits to master branch. Triggers when *ANY*
224+
# branch is tagged with qp-staging-*
225+
- provider: script
226+
script: $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-staging
227+
/tmp/mlab-staging.json $TRAVIS_BUILD_DIR/appengine/queue_pusher
228+
skip_cleanup: true
229+
on:
230+
repo: m-lab/etl
231+
all_branches: true
232+
tag: true
233+
condition: $TRAVIS_TAG == qp-staging-*
234+
235+
# PROD: After code review and commits to master branch. Triggers when *ANY*
236+
# branch is tagged with qp-prod-*
237+
- provider: script
238+
script: $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-oti
239+
/tmp/mlab-oti.json $TRAVIS_BUILD_DIR/appengine/queue_pusher
240+
skip_cleanup: true
241+
on:
242+
repo: m-lab/etl
243+
all_branches: true
244+
tag: true
245+
condition: $TRAVIS_TAG == qp-prod-*
246+
224247
# NOTE: Cloud functions only support primitive IAM roles: Owner, Editor, Viewer.
225248
# See: https://cloud.google.com/functions/docs/concepts/iam
226249
# TODO(soltesz): Add deployment automation when fine-grained permissions are

0 commit comments

Comments
 (0)