Skip to content

Commit

Permalink
Update Kitchen tests to use Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkza committed Nov 15, 2016
1 parent ae122f9 commit b93e2fa
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 14 deletions.
25 changes: 17 additions & 8 deletions .kitchen.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
---
driver:
name: vagrant
name: docker
use_sudo: false

provisioner:
name: ansible_playbook
ansible_verbose: true
ansible_verbosity: 2
require_ruby_for_busser: false
require_chef_for_busser: true
require_ruby_for_busser: true
require_chef_for_busser: false
hosts: all
role_name: ansible-redis

busser:
ruby_bindir: /usr/bin

platforms:
- name: ubuntu-14.04
- name: centos-6.7
driver_config:
box: wittman/centos-6.7-ansible
- name: centos-7.2
driver_config:
box: wittman/centos-7.2-ansible
image: williamyeh/ansible:ubuntu14.04
- name: ubuntu-16.04
driver_config:
image: williamyeh/ansible:ubuntu16.04
- name: centos-6
driver_config:
image: williamyeh/ansible:centos6
- name: centos-7
driver_config:
image: williamyeh/ansible:centos7

suites:
- name: default
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ source "https://rubygems.org"
gem "test-kitchen"
gem "kitchen-ansible"
gem "kitchen-vagrant"
gem "kitchen-docker"
22 changes: 16 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,33 @@
GEM
remote: https://rubygems.org/
specs:
artifactory (2.3.3)
kitchen-ansible (0.44.6)
artifactory (2.5.1)
kitchen-ansible (0.45.5)
net-ssh (~> 3.0)
test-kitchen (~> 1.4)
kitchen-docker (2.6.0)
test-kitchen (>= 1.0.0)
kitchen-vagrant (0.20.0)
test-kitchen (~> 1.4)
mixlib-install (1.1.0)
mixlib-install (2.1.6)
artifactory
mixlib-shellout
mixlib-versioning
mixlib-shellout (2.2.6)
thor
mixlib-shellout (2.2.7)
mixlib-versioning (1.1.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (3.2.0)
net-ssh-gateway (1.2.0)
net-ssh (>= 2.6.5)
safe_yaml (1.0.4)
test-kitchen (1.10.2)
mixlib-install (~> 1.0, >= 1.0.4)
test-kitchen (1.13.2)
mixlib-install (>= 1.2, < 3.0)
mixlib-shellout (>= 1.2, < 3.0)
net-scp (~> 1.1)
net-ssh (>= 2.9, < 4.0)
net-ssh-gateway (~> 1.2.0)
safe_yaml (~> 1.0)
thor (~> 0.18)
thor (0.19.1)
Expand All @@ -31,5 +37,9 @@ PLATFORMS

DEPENDENCIES
kitchen-ansible
kitchen-docker
kitchen-vagrant
test-kitchen

BUNDLED WITH
1.13.6

0 comments on commit b93e2fa

Please sign in to comment.