-
Notifications
You must be signed in to change notification settings - Fork 3
/
.kitchen.docker.yml
108 lines (103 loc) · 2.93 KB
/
.kitchen.docker.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
---
driver:
name: docker
use_sudo: false
privileged: true
provisioner:
name: chef_zero
chef_license: accept
verifier:
name: inspec
inspec_tests:
- path: test/integration/default/inspec
platforms:
- name: ubuntu-14.04-docker
driver_config:
image: ubuntu-upstart:14.04
disable_upstart: false
run_command: '/sbin/init'
provision_command:
- apt-get install -y net-tools gnupg # For InSpec & Chef
- name: ubuntu-16.04-docker
driver_config:
image: ubuntu:16.04
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y net-tools gnupg # For InSpec & Chef
- systemctl set-default multi-user.target
- name: ubuntu-18.04-docker
driver_config:
image: ubuntu:18.04
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y net-tools gnupg # For InSpec & Chef
- systemctl set-default multi-user.target
- name: debian-8-docker
driver_config:
image: debian:8
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y net-tools gnupg # For InSpec & Chef
- systemctl set-default multi-user.target
- name: debian-9-docker
driver_config:
image: debian:9
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y net-tools gnupg # For InSpec & Chef
- systemctl set-default multi-user.target
suites:
- name: chef-13
attributes:
nginx:
config:
mainconfig_include: "/etc/nginx/mainconfig_custom_include.conf"
run_list:
- recipe[apt]
- recipe[nginx_lwrp::official-repo]
- recipe[nginx_lwrp]
- recipe[nginx_test::cleaner_check]
- recipe[nginx_test]
- recipe[nginx_test::helper_templates]
- recipe[nginx_test::streams]
provisioner:
product_name: chef
product_version: 13
includes:
- ubuntu-16.04-docker
- name: chef-14
attributes:
nginx:
config:
mainconfig_include: "/etc/nginx/mainconfig_custom_include.conf"
provisioner:
product_name: chef
product_version: 14
run_list:
- recipe[apt]
- recipe[nginx_lwrp::official-repo]
- recipe[nginx_lwrp]
- recipe[nginx_test::cleaner_check]
- recipe[nginx_test]
- recipe[nginx_test::helper_templates]
- recipe[nginx_test::streams]
- name: chef-15
attributes:
nginx:
config:
mainconfig_include: "/etc/nginx/mainconfig_custom_include.conf"
provisioner:
product_name: chef
product_version: 15
run_list:
- recipe[apt]
- recipe[nginx_lwrp::official-repo]
- recipe[nginx_lwrp]
- recipe[nginx_test::cleaner_check]
- recipe[nginx_test]
- recipe[nginx_test::helper_templates]
- recipe[nginx_test::streams]