-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.kitchen.yml
80 lines (73 loc) · 1.97 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
---
driver:
name: vagrant
transport:
name: rsync
provisioner:
hosts: test-kitchen
name: ansible_playbook
require_chef_for_busser: false
require_ruby_for_busser: false
ansible_verbosity: 1
ansible_verbose: true
ansible_extra_flags: <%= ENV['ANSIBLE_EXTRA_FLAGS'] %>
requirements_path: requirements.yml
http_proxy: <%= ENV['ANSIBLE_PROXY'] %>
no_proxy: localhost,127.0.0.1
idempotency_test: true
additional_copy_path:
- extra_modules
- filter_plugins
platforms:
- name: freebsd-12.1-amd64
driver:
box: trombik/ansible-freebsd-12.1-amd64
box_check_update: false
driver_config:
ssh:
shell: '/bin/sh'
provisioner:
extra_vars:
ansible_python_interpreter: '/usr/local/bin/python3'
- name: openbsd-6.5-amd64
driver:
box: trombik/ansible-openbsd-6.5-amd64
box_check_update: false
driver_config:
ssh:
shell: '/bin/sh'
provisioner:
extra_vars:
ansible_python_interpreter: '/usr/local/bin/python3'
- name: openbsd-6.6-amd64
driver:
box: trombik/ansible-openbsd-6.6-amd64
box_check_update: false
driver_config:
ssh:
shell: '/bin/sh'
provisioner:
extra_vars:
ansible_python_interpreter: '/usr/local/bin/python3'
- name: ubuntu-18.04-amd64
driver:
box: trombik/ansible-ubuntu-18.04-amd64
box_check_update: false
suites:
- name: default
provisioner:
name: ansible_playbook
playbook: tests/serverspec/default.yml
verifier:
name: shell
command: rspec -c -f d -I tests/serverspec tests/serverspec/default_spec.rb
- name: without_x509
provisioner:
name: ansible_playbook
playbook: tests/serverspec/without_x509.yml
# use null here as trombik.x509_certificate is not a requirement when
# not using TLS
requirements_path: ~
verifier:
name: shell
command: rspec -c -f d -I tests/serverspec tests/serverspec/without_x509_spec.rb