Give Codeship a try

Want to learn more?

There are a variety of third-party products you can integrate with Codeship Basic and Codeship Pro to improve your CI/CD pipeline. Brakeman Pro, a service for automatically testing and reporting on your Rails application’s security vulnerabilities, is one such integration opportunity. We’ll walk through the setup instructions, but of course, Brakeman Pro’s documentation does a great job of providing more information.

Getting Started with Codeship Pro and Brakeman Pro

Adding the gem

After you’ve added your credentials, install the Brakeman Pro gem via your project’s Dockerfile, built by your codeship-services.yml file. You can do this with the following command in your Dockerfile, or by adding the gem to your project’s Gemfile (which requires bundle install in your Dockerfile):

Getting Started with Codeship Basic and Brakeman Pro

Moving on to Codeship Basic, you’ll need to add your BRAKEMAN_PRO_USER and BRAKEMAN_PRO_PASSWORD credentials to your environment variables. You can do this by navigating to Project Settings and then clicking the Environment tab.

Adding the gem

Next, install the Brakeman Pro gem via your project’s setup commands. This can be done with the following command, or by adding the gem to your project’s Gemfile (requiring bundle install in your setup commands instead):

Subscribe via Email

Over 60,000 people from companies like Netflix, Apple, Spotify and O'Reilly are reading our articles. Subscribe to receive a weekly newsletter with articles around Continuous Integration, Docker, and software development best practices.

We promise that we won't spam you. You can unsubscribe any time.

Join the Discussion

Leave us some comments on what you think about this topic or if you like to add something.