Cookbook¶
Following section contains common recipes for integrating Gunnery with external tools.
Capistrano¶
- In department settings create build role
- Create application and environment.
- Create server pointing to your build server (where capistrano is installed).
- Assign build role to this server
- For every capistrano task - create gunnery task. For example if you have deploy task enter following command in gunnery task form cd /path/to/capistrano/dir; cap deploy.
If your capistrano task requires parameter, for example cap deploy -S branch=master, define required parameter branch in gunnery form and change command to cap deploy -S branch=${branch}
Example capistrano tasks: