A repo demonstrating one way of getting Travis to deploy to Cloud Foundry
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci
lib
spec
.travis.yml
Gemfile
Gemfile.lock
README.md
config.ru
manifest-live.yml
manifest-staging.yml

README.md

Welcome

This repo accompanies the following cruft.io blog post.

It demos how we got Travis to deploy to Cloud Foundry.

Themes covered in this example:

  • multi-tier deploys from Travis to Cloud Foundry (i.e. to more than one Cloud Foundry space)

  • continuous deploys from Travis to Cloud Foundry after a successful CI build

  • managed deploys from Travis to Cloud Foundry upon the push of a given tag to the master branch

  • the Travis script provider rather than the Travis cloudfoundry provider (to afford a bit more control over smoke testing, etc)

  • blue-green-style deploys (I say 'style' because we don't go 'whole hog' and take care of error-handling and idempotency here, although you could, and there are various blue-green / zero-downtime scripts out there that we reference in the accompanying post)