Solano CI

This add-on is operated by Solano Labs

Continuous Integration and Deployment

Solano CI

Last Updated: 08 April 2015

addons test

Table of Contents

Solano CI is an add-on for providing parallel testing, continuous integration (CI) and deployment for your Heroku App.

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.

Solano CI is accessible via our webapp and our CLI, works with Java, Ruby, Python, Scala, Clojure, Node, Javascript, Go, R and PHP apps, and has a supported client library in Ruby.

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:add tddium
-----> Adding tddium to sharp-mountain-4005... done, v18 (free)

Once Solano CI has been added TDDIUM_USER_NAME and 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.

Local setup

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.

Environment setup

Install the 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.

Supported Languages

Solano CI has first-class support for Java, Ruby, Python, Scala, Clojure, Node, Javascript, Go, R and PHP apps.

Compatibility

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.