Skip to content

mr-oliva/cf-release-tool

Repository files navigation

Build Status Maintainability Test Coverage

Blue-Green deployment tool for PHP application in cloud foundry

Overview

cf-release-tool is a plugin for the CF command line tool that executes Blue-Green deployment. Blue-Green deployment is zero-downtime deploys.

Features

  • provides Blue-Green deployment
  • Pushs app based on git branch that you want to release
  • map test route to green app. if user approves, map production route to it.

How to Build

  1. go get github.com/bookun/cf-release-tool
  2. cd $GOPATH/src/github.com/bookun/cf-release-tool
  3. go build -o ReleaseTool
  4. cf install-plugin ReleaseTool
  5. cf release -h

How to Use

Caution Please append env variables to your manifest file, ORG, SPACE, HOST, DOMAIN. sample

  • pushs app based on master branch and manifest.yml cf release

  • pushs app based on "branch" and manifest.yml cf release -b <branch>

  • pushs app based on "branch" and "your/manifest-file/path" cf release -b <branch> -f <your/manifest-file/path>

Uninstall

cf uninstall-plugin ReleaseTool

About

[WIP] Blue-Green deployment tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published