Skip to content

Commit 7db4e97

Browse files
author
Gregory Russell
committed
add batch deployment
1 parent 9b0dd9e commit 7db4e97

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,19 @@ deploy:
126126
all_branches: true
127127
condition: $TRAVIS_TAG == ndt-prod-*
128128

129+
# BATCH: Should be used AFTER code review and commit to master branch.
130+
# Triggers when *ANY* branch is tagged with ndt-batch-*'
131+
# Deploys BATCH services.
132+
- provider: script
133+
script:
134+
$TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-oti
135+
/tmp/mlab-oti.json $TRAVIS_BUILD_DIR/cmd/etl_worker app-ndt-batch.yaml
136+
skip_cleanup: true
137+
on:
138+
repo: m-lab/etl
139+
all_branches: true
140+
condition: $TRAVIS_TAG == ndt-batch-*
141+
129142
######################################################################
130143
## Service: etl-sidestream-parser -- AppEngine Flexible Environment.
131144
# SANDBOX: before code review for development code in a specific branch.

0 commit comments

Comments
 (0)