Skip to content

Google Compute Engine driver for Test-Kitchen

License

Notifications You must be signed in to change notification settings

test-kitchen/kitchen-google

Repository files navigation

Kitchen::Gce - A Test Kitchen Driver for Google Compute Engine

Gem Version CI

This is a Test Kitchen driver for Google Compute Engine. While similar to EC2 and other IaaS providers, GCE has a couple of advantages for Chef cookbook testing:

  • (Subjectively) faster instance launch times; and
  • Sub-hour billing.

Requirements

Ruby Version

Ruby 2.7 or greater.

Installation

The kitchen-google driver ships as part of Chef Workstation. The easiest way to use this driver is to Download Chef Workstation.

If you want to install the driver directly into a Ruby installation:

gem install kitchen-google

If you're using Bundler, simply add it to your Gemfile:

gem "kitchen-google"

... and then run bundle install.

Configuration

See the kitchen.ci Google Driver Page for documentation on configuring this driver.

Development

Source is hosted on GitHub.

  • Pull requests are welcome, using topic branches if possible:
  1. Fork the repo.
  2. Create a feature branch, commit changes to it and push them.
  3. Submit a pull request.
  • Report issues or submit feature requests on GitHub

Author, Acknowledgements, Etc

Created and maintained by Andrew Leonard ([email protected]).

The initial release drew heavily on the kitchen-ec2 gem for both inspiration and implementation details. Any bugs, however, are solely the author's own doing.

License

Licensed under Apache 2.0.