-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to fetch Redis URLs from Heroku (#783)
The Heroku Redis URLs for the PR/beta/canary deployments change periodically, which breaks things until I manually update the Redis environment variables for the Travis environment. This obtains them at build time from Heroku instead. This also moves travis-web jobs onto the Trusty beta, because it includes the heroku command needed to fetch the Redis URLs. This has the added benefit of including PhantomJS 2.0.0, which comes pre-installed in that environment, so we no longer need the .travis.yml lines related to installing that.
- Loading branch information
Showing
5 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export CLEANED_BRANCH_SUBDOMAIN=ember-$EMBER_VERSION | ||
export DISABLE_SENTRY=true | ||
|
||
./config/deployment/store-redis-urls.sh | ||
|
||
ember deploy org-$EMBER_VERSION --activate --verbose | ||
TRAVIS_PRO=true ember deploy com-$EMBER_VERSION --activate --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export ORG_PRODUCTION_REDIS_URL=`heroku config:get REDIS_URL -a travis-web-production-next` | ||
export COM_PRODUCTION_REDIS_URL=`heroku config:get REDIS_URL -a travis-pro-web-production-next` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters