File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,30 @@ deploy:
221221 all_branches : true
222222 condition : $TRAVIS_BRANCH == qp-sandbox-*
223223
224+ # STAGING: After code review and commits to master branch. Triggers when *ANY*
225+ # branch is tagged with qp-staging-*
226+ - provider : script
227+ script : $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-staging
228+ /tmp/mlab-staging.json $TRAVIS_BUILD_DIR/appengine/queue_pusher
229+ skip_cleanup : true
230+ on :
231+ repo : m-lab/etl
232+ all_branches : true
233+ tag : true
234+ condition : $TRAVIS_TAG == qp-staging-*
235+
236+ # PROD: After code review and commits to master branch. Triggers when *ANY*
237+ # branch is tagged with qp-prod-*
238+ - provider : script
239+ script : $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-oti
240+ /tmp/mlab-oti.json $TRAVIS_BUILD_DIR/appengine/queue_pusher
241+ skip_cleanup : true
242+ on :
243+ repo : m-lab/etl
244+ all_branches : true
245+ tag : true
246+ condition : $TRAVIS_TAG == qp-prod-*
247+
224248# NOTE: Cloud functions only support primitive IAM roles: Owner, Editor, Viewer.
225249# See: https://cloud.google.com/functions/docs/concepts/iam
226250# TODO(soltesz): Add deployment automation when fine-grained permissions are
You can’t perform that action at this time.
0 commit comments