Skip to content

Commit f517d7b

Browse files
authored
Merge pull request #135 from m-lab/travis
Fix deployment problems.
2 parents 72b53cb + 4287b75 commit f517d7b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ before_install:
2020
# project referenced in the "deploy" section. These keys authenticate the
2121
# gcloud deploy operations.
2222

23-
- travis/decrypt.sh "$encrypted_ee3c81e2a61e_key" "$encrypted_ee3c81e2a61e_iv"
23+
- travis/decrypt.sh "$encrypted_361547783275_key" "$encrypted_361547783275_iv"
2424
keys/service-accounts.tar.enc /tmp/service-accounts.tar /tmp
25+
- tar tvf /tmp/service-accounts.tar
26+
- echo Branch is $TRAVIS_BRANCH and Tag is $TRAVIS_TAG
2527

2628
# These directories will be cached on successful "script" builds, and restored,
2729
# if available, to save time on future builds.
@@ -89,14 +91,14 @@ deploy:
8991
branch: integration
9092

9193
# STAGING: Should be used AFTER code review and commit to dev branch. Triggers
92-
# when branch is tagged with ndt-staging-*'
94+
# when *ANY* branch is tagged with ndt-staging-*'
9395
- provider: script
94-
script: $TRAVIS_BUILD_DIR/.personalize_deploy.sh
95-
$TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-staging
96+
script: $TRAVIS_BUILD_DIR/travis/deploy_app.sh mlab-staging
9697
/tmp/mlab-staging.json $TRAVIS_BUILD_DIR/cmd/etl_worker app-ndt.yaml
9798
skip_cleanup: true
9899
on:
99100
repo: m-lab/etl
101+
all_branches: true
100102
tag: true
101103
condition: $TRAVIS_TAG == ndt-staging-*
102104

keys/service-accounts.tar.enc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)