Skip to content

test-kitchen/kitchen-digitalocean

Repository files navigation

Kitchen::Digitalocean

Gem Version Build Status

A Test Kitchen Driver for DigitalOcean.

Shamelessly copied from RoboticCheese's awesome work on an Rackspace driver.

Upgrading

From this version forward the driver uses API V2 only. Use of image_id, flavor_id, and region_id have been replaced with image, size, and region. You can now use slugs instead of relying on the old data.json to translate IDs. Please refer to the examples below, and the API documentation for more information.

Requirements

There are no external system requirements for this driver. However you will need access to an DigitalOcean account.

Installation and Setup

If you're using Chef Workstation then kitchen-digitalocean is built-in. If not you'll need to install kitchen-digital via gem:

gem install kitchen-digitalocean

or add it to your Gemfile if you are using Bundler

source 'https://rubygems.org'

gem 'kitchen-digitalocean'

Getting Started

For help getting started check the kitchen.ci DigitalOcean Driver documentation

Development

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Authors

Created and maintained by Greg Fitzgerald ([email protected])

Special Thanks:

Will Farrington, His fork was a help during the creation of my api v2 driver.

License

Apache 2.0 (see LICENSE)