cf-release-tool is a plugin for the CF command line tool that executes Blue-Green deployment. Blue-Green deployment is zero-downtime deploys.
- 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.
go get github.com/bookun/cf-release-tool
cd $GOPATH/src/github.com/bookun/cf-release-tool
go build -o ReleaseTool
cf install-plugin ReleaseTool
cf release -h
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>
cf uninstall-plugin ReleaseTool