Cimpress-MCP / vagrant-orchestrate

Cross platform deployment orchestration to existing managed servers using vagrant provisioners
Other
19 stars 13 forks source link

Add environment support based on git branch name. #6

Closed chrisbaldauf closed 9 years ago

chrisbaldauf commented 9 years ago

This adds a --environments command line parameter to the init command This creates a servers.json file that lists the servers for each environment. The current git branch name will be used to determine which servers to load and a branch that has no matching entry in the servers.json file will return an empty list (as in the case of a feature branch). See the readme for more detailed information

--environments will take precedence over --servers.

If not passed, a flat list of servers will be used.

chrisbaldauf commented 9 years ago

@maclennann @swivelhinges @potashj @ryanbreen

ryanbreen commented 9 years ago

LGTM!

maclennann commented 9 years ago

:shipit: