Kitchen::Gce - A Test Kitchen Driver for Google Compute Engine
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:
- Fork the repo.
- Create a feature branch, commit changes to it and push them.
- Submit a pull request.
- Report issues or submit feature requests on GitHub
Author, Acknowledgements, Etc
Created and maintained by Andrew Leonard (andy@hurricane-ridge.com).
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.