Name: cf-icd-plugin
Owner: International Business Machines
Description: cf-icd-plugin
Created: 2017-03-10 23:45:11.0
Updated: 2017-03-13 13:45:17.0
Pushed: 2017-03-28 19:34:00.0
Homepage: null
Size: 59307
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Sample CF plugin for POST of cloud foundry commands to registered webhook broker
Install golang https://golang.org
export GOPATH=/this/project/path/vendor:/this/project/path
go build -o bin/$(uname)_$(uname -m)/icd icd
Usage:
cd --create-connection <webhook> <cf app name>
Where
cd --delete-connection <webhook> <cf app name>
Where
The plugin can be built locally as a docker container, or by pushing to your forked branch and building with travis-ci.
clone https://github.com/IBM/cf-icd-plugin /your/icd/dir
your/icd/dir
ild
: ./build_bin contains your built binaries
clone https://github.com/IBM/cf-icd-plugin /your/icd/dir
your/icd/dir
remote add <your remote name> <your forked remote repo>
tag -a <your release version id> -m 'my custom release version'
push <your remote name> <your release version id>
: Be sure to enable the remote repo in travis-ci.org after you link your github account with travis-ci.org account