Continuous Delivery with anynines and Codeship

Written by: Manuel Weiss
1 min read
Stay connected

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.

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

Stay up to date

We'll never share your email address and you can opt out at any time, we promise.

Loading form...
Your ad blocker may be blocking functionality on this page. Please disable for an improved experience.