directory
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 17, 2015
License: MIT
Opens a new window with license information.
README
¶
An example of prepare & execute deployment.
Step 1: run consul agent
Run a consul agent(server) on your local machine.
e.g.
$ consul agent -server -data-dir /tmp/consul -bootstrap-expect 1
Step 2: run prepare.sh
prepare.sh
runs a following process.
- go build in
./project
directory.
- Create a deployment archive as
example.tar.gz
.
- Create a manifest YAML as
example.yml
.
- Create a consul event for deployment.
After this step, a deployment event is queued in the consul server.
Step 3: run exec.sh
exec.sh
runs deployment process notified from the consul server.
- Receive a deployment event by
consul watch
.
- stretcher runs deployment!
Directories
¶
Click to show internal directories.
Click to hide internal directories.