cookbook 'go_cd', '= 0.4.0'
go_cd (5) Versions 0.4.0 Follow4
Installs/Configures go-server
cookbook 'go_cd', '= 0.4.0', :supermarket
knife supermarket install go_cd
knife supermarket download go_cd
go_cd Cookbook
Chef cookbook for managing GoCD.
Description
This cookbook install and configures ThoughtWorks GoCD server and agent.
This cookbook is adapted from the other community GoCD cookbook to support running agents as custom user.
Usage
Either assign the relevent recipes (server or agent) directly to node's run list or use include_recipe
from wrapper recipes.
The agent recipe uses node['go_cd']['server_ip']
attribute to configure the GoCD server. By default this points to localhost. If you are using chef solo, use role or environment to override this value, if you are using chef search capabilties, you can use wrapper recipes as well to specify the GoCD server ip. Example:
node.default['go_cd']['server_ip'] = search(:node, 'name:gocd-server').first.ipaddress include_recipe 'go_cd::agent'
This cookbook is used along side container and xml_file cookbooks to create Continuous Integration servers, capable of running unprivileged LXC containers as part of their build/test pipelines. An example can be found here (dogfood :-))
License
Contributing
- Fork it ( https://github.com/GoatOS/go_cd/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Foodcritic Metric
0.4.0 failed this metric
FC019: Access node attributes in a consistent manner: /tmp/cook/bd7f4d683cafaaf8093cbafa/go_cd/recipes/agent.rb:52
0.4.0 failed this metric