gocd / go-cookbook

Cookbook that installs and configures the open-source ThoughtWorks Studios GoCD product
http://www.gocd.org/
Apache License 2.0
44 stars 66 forks source link

Add support for cloud integration testing on ec2 and digitalocean #37

Closed codechaotic closed 9 years ago

codechaotic commented 9 years ago

I've been having issues using this cookbook to install Go server on an AWS ec2 micro instance, so in an effort to figure out why I put this together. I've never made a pull request before but I don't see why this shouldn't be added to the official repository. I assume most people will be trying to install on a cloud platform anyway.

These changes are modeled after patterns used in the official opscode cookbooks for cloud integration testing. I even borrowed the snipet used in their TESTING.md. I've also run the current serverspec tests on the two platforms I included with no errors.

codechaotic commented 9 years ago

So with the first commit there was a ruby version conflict caused by resource_kit 0.1.1, a dependency of kitchen-digitalocean 0.8.2. Unfortunately removing this conflict requires backing this dependency all the way back to 0.7.3, before the shift was made to the new Digital Ocean API v2.0. Annoying but not really a problem since the v1 API, thought deprecated, is still being supported.