Skip to content
This repository has been archived by the owner. It is now read-only.

joshuamckenty/step-cloud-foundry-deploy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 23 commits ahead, 4 commits behind wercker:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

cloud-foundry-deploy

Deploys the current path to a cloud foundry instance. You

What's new

  • Blue-Green Deploys.
  • Support for hosted cloud foundry instances

Options

  • appname (required) The application name.
  • username (required) Cloud Foundry Username.
  • password (required) Cloud Foundry Password.
  • organization (required) Cloud Foundry Organization.
  • space (required) Cloud Foundry Space.
  • alt_appname (optional) Alternative application name for blue-green deploys.
  • domain (optional) App domain.
  • route (optional, required for blue-green deploys) App route.
  • api (optional, default: https://api.run.pivotal.io) Cloud Foundry API endpoint.
  • skip_ssl (optional) Skip ssl validation on API login.

Example

Deploy to cloud foundry:

steps:
  - USERNAME/cloud-foundry-deploy
...
deploy:
  steps:
    - dlapiduz/cloud-foundry-deploy:
      api: $CF_API # Set as environment variables
      username: $CF_USER
      password: $CF_PASS
      organization: $CF_ORG
      space: $CF_SPACE
      appname: myapp-green
      alt_appname: myapp-blue
      route: default_app.cfapps.io

License

The MIT License (MIT)

About

A Wercker Step to deploy to Pivotal Web Services (Cloud Foundry)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%