Skip to content

Commit

Permalink
also deploy to private stack (internal use)
Browse files Browse the repository at this point in the history
  • Loading branch information
magalhas committed Aug 18, 2016
1 parent 28293a2 commit 839c885
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ notifications:
before_install:
- curl -L https://releases.rancher.com/compose/v0.8.4/rancher-compose-linux-amd64-v0.8.4.tar.gz > rancher-compose.tar.gz
- tar -xvzf rancher-compose.tar.gz
- rm rancher-compose.tar.gz
- rm *.gz
- chmod +x rancher-compose-v0.8.4/rancher-compose
- sudo mv rancher-compose-v0.8.4/rancher-compose /usr/local/bin
- rm -r rancher-compose-v0.8.4
Expand All @@ -22,4 +22,5 @@ after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
cd docker/staging;
rancher-compose --url http://rancher.getrelax.io --access-key $RANCHER_ACCESS_KEY --secret-key $RANCHER_SECRET_KEY -p Relax up -d --confirm-upgrade --pull --force-upgrade relax;
rancher-compose --url http://rancher.getrelax.io --access-key $RANCHER_ACCESS_KEY --secret-key $RANCHER_SECRET_KEY -p RelaxPrivate up -d --confirm-upgrade --pull --force-upgrade relax;
fi

0 comments on commit 839c885

Please sign in to comment.