How to install In-Dyno Databases, Heroku Postgres and Heroku Redis in Heroku CI?

Issue

I want to install In-Dyno Redis and Heroku Redis in Heroku CI. In-Dyno Redis is for tests in a single dyno and In-Dyno Redis is for queuing for parallel tests.

When I write an app.json below, it appears that only In-dyno Redis is installed as REDIS_URL.

{
  "environments": {
    "test": {
      "addons": ["heroku-redis:hobby-dev", "heroku-redis:in-dyno"]
    }
  }
}

Resolution

You can use as option to name the hobby-dev Redis URL. CI_QUEUE_URL is added for the hobby-dev Redis in the following app.json.

  "environments": {
    "test": {
      "addons":[
	{ "plan": "heroku-redis:hobby-dev", "as": "CI_QUEUE" },
	{ "plan": "heroku-redis:in-dyno" }
      ]
    }

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018 Salesforce.com