Continuous Delivery with anynines and Codeship

Codeship News

Reading Time: 1 minute

I am happy to welcome a new member to our Codeship Integrations family: anynines! Anynines is a PaaS built on top of CloudFoundry and OpenStack. They take care of your hardware, your network configuration and OS updates, among others. Learn more in our anynines deployment article in our documenation.

Set up Continuous Delivery with anynines and Codeship

Anynines have a great Getting Started guide which we definitely encourage you to check out. Also, see their documentation available at support.anynines.com.

To set up Continuous Delivery with Codeship to anynines, start by getting your application to deploy from your local machine. Once this is done, you need to add the following environment variables to your project settings.

F_USER
CF_PASSWORD
CF_ORG
CF_SPACE
CF_APPLICATION

Then, on Codeship, add a new script based deployment to your project and include the following commands

cf6 api https://api.de.a9s.eu
cf6 auth "${CF_USER}" "${CF_PASSWORD}"
cf6 target -o "${CF_ORG}" -s "${CF_SPACE}"
cf6 push "${CF_APP}"

This will deploy your application on each push to the specific branch you configured the deployment for. If you have more thorough requirements, like blue / green deployments see a great article written by the folks at anynines about deploying to Codeship, which is available at their blog.

Sign up for a free Codeship Account

Ready to get started? Head over to Codeship and set up your Deployment to anynines!

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.