@@ -23,7 +23,6 @@ before_install:
2323- travis/decrypt.sh "$encrypted_ee3c81e2a61e_key" "$encrypted_ee3c81e2a61e_iv"
2424 keys/service-accounts.tar.enc /tmp/service-accounts.tar /tmp
2525
26-
2726# These directories will be cached on successful "script" builds, and restored,
2827# if available, to save time on future builds.
2928cache :
@@ -43,8 +42,9 @@ script:
4342# Deploy steps never trigger on a new Pull Request. Deploy steps will trigger
4443# after a merge with matching "on:" conditions.
4544deploy :
46- # SANDBOX: before code review for development code in a specific branch.
45+ # #####################################################################
4746# # Service: etl-disco-parser -- AppEngine Flexible Environment.
47+ # SANDBOX: before code review for development code in a specific branch.
4848- provider : script
4949 script : $TRAVIS_BUILD_DIR/.personalize_deploy.sh
5050 $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-sandbox
@@ -58,9 +58,11 @@ deploy:
5858 # A bash-style 'if' condition, matching branches with a "sandbox-" prefix.
5959 # Sandbox branches will be deployed to personalized service names.
6060 # Integration branch will not use decorated service names.
61- condition : $TRAVIS_BRANCH == sandbox-*
61+ condition : $TRAVIS_BRANCH == disco- sandbox-*
6262
63+ # #####################################################################
6364# # Service: etl-ndt-parser -- AppEngine Flexible Environment.
65+ # PERSONAL SANDBOX: before code review for development code in a specific branch.
6466- provider : script
6567 script : $TRAVIS_BUILD_DIR/.personalize_deploy.sh
6668 $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-sandbox
@@ -74,9 +76,33 @@ deploy:
7476 # A bash-style 'if' condition, matching branches with a "sandbox-" prefix.
7577 # Sandbox branches will be deployed to personalized service names.
7678 # Integration branch will not use decorated service names.
77- condition : $TRAVIS_BRANCH == sandbox-*
79+ condition : $TRAVIS_BRANCH == ndt-sandbox-*
80+
81+ # INTEGRATION: Reviewed code, merged to integration branch, will trigger
82+ # deployment to "standard" mlab-sandbox.
83+ - provider : script
84+ script : $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-sandbox
85+ /tmp/mlab-sandbox.json $TRAVIS_BUILD_DIR/cmd/etl_worker app-ndt.yaml
86+ skip_cleanup : true
87+ on :
88+ repo : m-lab/etl
89+ branch : integration
7890
91+ # STAGING: Should be used AFTER code review and commit to dev branch. Triggers
92+ # when branch is tagged with ndt-staging-*'
93+ - provider : script
94+ script : $TRAVIS_BUILD_DIR/.personalize_deploy.sh
95+ $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-staging
96+ /tmp/mlab-staging.json $TRAVIS_BUILD_DIR/cmd/etl_worker app-ndt.yaml
97+ skip_cleanup : true
98+ on :
99+ repo : m-lab/etl
100+ tag : true
101+ condition : $TRAVIS_TAG == ndt-staging-*
102+
103+ # #####################################################################
79104# # Service: etl-sidestream-parser -- AppEngine Flexible Environment.
105+ # SANDBOX: before code review for development code in a specific branch.
80106- provider : script
81107 script : $TRAVIS_BUILD_DIR/.personalize_deploy.sh
82108 $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-sandbox
@@ -90,9 +116,11 @@ deploy:
90116 # A bash-style 'if' condition, matching branches with a "sandbox-" prefix.
91117 # Sandbox branches will be deployed to personalized service names.
92118 # Integration branch will not use decorated service names.
93- condition : $TRAVIS_BRANCH == sandbox-*
119+ condition : $TRAVIS_BRANCH == ss- sandbox-*
94120
121+ # #####################################################################
95122# # Service: etl-traceroute-parser -- AppEngine Flexible Environment.
123+ # SANDBOX: before code review for development code in a specific branch.
96124- provider : script
97125 script : $TRAVIS_BUILD_DIR/.personalize_deploy.sh
98126 $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-sandbox
@@ -106,9 +134,11 @@ deploy:
106134 # A bash-style 'if' condition, matching branches with a "sandbox-" prefix.
107135 # Sandbox branches will be deployed to personalized service names.
108136 # Integration branch will not use decorated service names.
109- condition : $TRAVIS_BRANCH == sandbox-*
137+ condition : $TRAVIS_BRANCH == pt- sandbox-*
110138
139+ # #####################################################################
111140# # Service: queue-pusher -- AppEngine Standard Environment.
141+ # SANDBOX: before code review for development code in a specific branch.
112142- provider : script
113143 script : $TRAVIS_BUILD_DIR/.personalize_deploy.sh
114144 $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-sandbox
@@ -119,7 +149,7 @@ deploy:
119149 # Consider all branches and match using the condition. By default
120150 # "all_branches" is false, and the condition is ignored.
121151 all_branches : true
122- condition : $TRAVIS_BRANCH == sandbox-*
152+ condition : $TRAVIS_BRANCH == qp- sandbox-*
123153
124154# NOTE: Cloud functions only support primitive IAM roles: Owner, Editor, Viewer.
125155# See: https://cloud.google.com/functions/docs/concepts/iam
0 commit comments