Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A Test Kitchen Driver for Scaleway
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 0

Runtime

~> 0.2.1
 Project Readme

Kitchen::Scaleway

A Test Kitchen Driver for Scaleway.

Requirements

This driver depends on the Scaleway gem. Additionally, you will need to create an account on Scaleway https://www.scaleway.com.

Currently, there is no omnibus package for Test Kitchen to use via this driver. However, as this driver exists I aim to publish some soon.

Installation and Setup

Please read the Driver usage page for more details.

Configuration

There are two required options which can either be set as system environment variables or as driver options.

Environment Variables:

export SCALEWAY_ORG_TOKEN='66c8226d-4b6d-455a-a40a-507faa3fac2b'
export SCALEWAY_ACCESS_TOKEN='1800d055-03ef-4109-9ad9-0d3c2cb2004a'

kitchen.local.yml options:

driver:
  name: scaleway
  scaleway_org: 66c8226d-4b6d-455a-a40a-507faa3fac2b
  scaleway_access_token: 1800d055-03ef-4109-9ad9-0d3c2cb2004a

require_chef_omnibus

Determines whether or not a Chef Omnibus package will be installed. In the current state of this project, we recommend setting this to false. We are hard at work to provide an alternate Omnitruck end-point with Omnibus builds available for all the available flavors, but it is not available at this time.

There are several different behaviors available:

  • true - the latest release will be installed. Subsequent converges will skip re-installing if chef is present.
  • latest - the latest release will be installed. Subsequent converges will always re-install even if chef is present.
  • <VERSION_STRING> (ex: 10.24.0) - the desired version string will be passed the the install.sh script. Subsequent converges will skip if the installed version and the desired version match.
  • false or nil - no chef is installed.

The default value is unset, or nil.

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 new Pull Request

Authors

Created and maintained by Ryan Hass (ryan@invalidchecksum.net)

Much of this code was derived and borrowed from kitchen-digitalocean.

Special thanks to Greg Fitzgerald (greg@gregf.org)

License

Apache 2.0 (see LICENSE)