Ansible role to setup test-kitchen and plugins http://kitchen.ci/
It only use available distribution ruby packages.
It was tested on the following versions:
- 2.0
- 2.2
- 2.5
Tested on Ubuntu 14.04, 16.04 and 18.04 Kitchen and many plugins requires ruby 2.0 or more, so Ubuntu precise and Centos-6 are not supported. Some plugins may requires higher ruby version. You can eventually use rvm to manage minimum requirements.
Just include this role in your list. For example
- host: all
roles:
- juju4.kitchen
Nothing specific for now.
This role has a travis basic test (for github), more advanced with kitchen and also a Vagrantfile (test/vagrant).
Once you ensured all necessary roles are present, You can test with:
$ cd /path/to/roles/juju4.kitchen
$ kitchen verify
$ kitchen login
or
$ cd /path/to/roles/juju4.kitchen/test/vagrant
$ vagrant up
$ vagrant ssh
- global gem install is not idempotent
BSD 2-clause