-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
141 lines (125 loc) · 3.64 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
---
driver:
name: vagrant
vagrantfile_erb: Vagrantfile_local.erb
provisioner:
name: ansible_playbook
hosts: docker-hosts
role_name: docker-engine
sudo_command: sudo -E -H
require_ansible_repo: false
require_ansible_omnibus: false
require_chef_for_busser: false
require_ruby_for_busser: false
# disabled omnibus and switched to pip install to workaround python-six related
# dependency issues on Ubuntu 14.04
require_pip: true
ansible_version: 2.3.0
ansible_verbose: true
ansible_verbosity: warn
idempotency_test: true
verifier:
name: shell
transport:
max_ssh_sessions: 4
suites:
- name: latest
provisioner:
playbook: tests/vagrant/latest.yml
verifier:
command: PLAYBOOK=tests/vagrant/latest.yml bundle exec rspec -c -f d -I serverspec
- name: ce-engine
provisioner:
playbook: tests/vagrant/ce-engine.yml
verifier:
command: PLAYBOOK=tests/vagrant/ce-engine.yml bundle exec rspec -c -f d -I serverspec
- name: py-pkg
excludes:
- ubuntu-1404
provisioner:
playbook: tests/vagrant/py-pkg.yml
verifier:
command: PLAYBOOK=tests/vagrant/py-pkg.yml bundle exec rspec -c -f d -I serverspec
- name: storage-aufs
excludes:
- centos-7
provisioner:
playbook: tests/vagrant/storage-aufs.yml
verifier:
command: PLAYBOOK=tests/vagrant/storage-aufs.yml bundle exec rspec -c -f d -I serverspec
- name: storage-btrfs
driver:
customize:
createhd:
filename: "/tmp/#{c.vm.hostname}.vdi"
format: vdi
size: 1024
storagectl:
name: SATA Controller
portcount: 2
storageattach:
storagectl: SATA Controller
port: 1
type: hdd
medium: "/tmp/#{c.vm.hostname}.vdi"
provisioner:
playbook: tests/vagrant/storage-btrfs.yml
verifier:
command: PLAYBOOK=tests/vagrant/storage-btrfs.yml bundle exec rspec -c -f d -I serverspec
- name: storage-devicemapper
excludes:
- debian-8
- ubuntu-1404
- ubuntu-1604
driver:
customize:
createhd:
filename: "/tmp/#{c.vm.hostname}.vdi"
format: vdi
size: 1024
storagectl:
name: SATA Controller
portcount: 2
storageattach:
storagectl: SATA Controller
port: 1
type: hdd
medium: "/tmp/#{c.vm.hostname}.vdi"
provisioner:
playbook: tests/vagrant/storage-devicemapper.yml
verifier:
command: PLAYBOOK=tests/vagrant/storage-devicemapper.yml bundle exec rspec -c -f d -I serverspec
- name: storage-legacy-overlay
excludes:
- ubuntu-1404
- debian-8
provisioner:
playbook: tests/vagrant/storage-legacy-overlay.yml
verifier:
command: PLAYBOOK=tests/vagrant/storage-legacy-overlay.yml bundle exec rspec -c -f d -I serverspec
- name: storage-overlay2
excludes:
- ubuntu-1404
- debian-8
- centos-7
provisioner:
playbook: tests/vagrant/storage-overlay2.yml
verifier:
command: PLAYBOOK=tests/vagrant/storage-overlay2.yml bundle exec rspec -c -f d -I serverspec
platforms:
- name: centos-7
driver_config:
box: bento/centos-7.3
box_url: https://atlas.hashicorp.com/bento/boxes/centos-7.3
- name: debian-8
driver_config:
box: bento/debian-8.7
box_url: https://atlas.hashicorp.com/bento/debian-8.7
- name: ubuntu-1404
driver_config:
box: bento/ubuntu-14.04
box_url: https://atlas.hashicorp.com/bento/ubuntu-14.04
- name: ubuntu-1604
driver_config:
box: bento/ubuntu-16.04
box_url: https://atlas.hashicorp.com/bento/ubuntu-16.04