deploy

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2016 License: MIT Imports: 2 Imported by: 0

README

cap

Remote multi-server automation tool

Example

export PATH=$GOPATH/bin:$PATH
go get -u github.com/itpkg/cap
which cap
cap -h
Deploy task
cap g -s production
vi config/stages/production.toml

cap g -t deploy
vi config/tasks/deploy.toml

cap r -s production -t deploy
By host filter
HOSTS=server1,server2 cap r -s production -t deploy

OR

cap r --hosts=server1,server2 -s production -t deploy
By role filter
ROLES=app,web cap r -s production -t deploy

OR

cap r --roles=app,web -s production -t deploy

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(cmd ...cli.Command)

Register register action func

func Run

func Run(name string) error

Run main entry

Types

This section is empty.

Directories

Path Synopsis
cmd
run
scm
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL