Ansible role to setup jenkins test environment. It can be executed on master or nodes.
It was tested on the following versions:
- 2.0
- 2.2
- 2.5
Tested on Ubuntu 14.04, 16.04 and 18.04
Just include this role in your list. For example
- host: all
roles:
- juju4.jenkinsenv
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.jenkinsenv
$ kitchen verify
$ kitchen login
or
$ cd /path/to/roles/juju4.jenkinsenv/test/vagrant
$ vagrant up
$ vagrant ssh
N/A
BSD 2-clause