This add-on is operated by Solano Labs
Continuous Integration and Deployment
Last updated 15 October 2015
Solano CI’s distributed build and test platform watches your shared source repositories for code changes, automatically configures databases and services for your app, safely runs your tests in parallel for a huge speedup, gives you real time feedback and sends you convenient notifications via email, Campfire, Hipchat, Flowdock and Slack. You can also use Solano CI’s CLI to take advantage of our parallelism even before you push to a shared repository.
Provisioning the add-on
Solano CI can be attached to a Heroku application via the Heroku Dashboard or the CLI:
A list of all plans available can be found here.
$ heroku addons:create tddium -----> Adding tddium to sharp-mountain-4005... done, v18 (free)
Once Solano CI has been added
TDDIUM_API_KEY settings will be available in the app configuration and will contain credentials to access the Solano CI service. These settings will automatically be used by the
tddium command to connect your account. This can be confirmed using the
heroku config:get command.
$ heroku config:get TDDIUM_API_KEY adbefdabadf124afaddbadf97823
After installing Solano CI, visit the Solano CI control panel to configure repos and branches to build and deploy. You can reach the Solano CI control panel by clicking on the Solano icon in your app’s Heroku dashboard. You’ll be automatically signed in to Solano CI via Heroku’s Single-Sign-On functionality.
No explicit local setup is necessary. However, many Solano CI users appreciate using the
solano gem to start builds from the CLI and have quick access to test results and account information, without leaving the terminal.
solano gem and log in using the authentication token and instructions described in your Solano CI user settings page.
$ gem install solano $ solano login <token> Please upload a public key to authenticate your local pushes to Solano CI. Public key [~/.ssh/id_rsa.pub]:
Running tests and builds with Solano CI
From your Solano CI dashboard, you can configure Continuous Integration for repos and branches to build automatically via commit hooks, and you can connect your Github account for a full end-to-end solution supporting Pull Requests and Github Status integration.
To start tests from the CLI, use the
solano run command. It will automatically configure your
repository and identify your tests. It will then start a test run.
$ solano run
To set up Continuous integration, use the
tddium suite command
$ solano suite
If you have any trouble getting started, read through our getting started guide.
To see the updated list of all of the databases, search engines, and infrastructure backends we support for running your tests, take a look at our compatibility list.