1
+ # -*- coding: utf-8 -*-
2
+ # vim: ft=yaml
1
3
---
4
+ # For help on this file's format, see https://kitchen.ci/
2
5
driver :
3
6
name : docker
4
7
use_sudo : false
5
8
privileged : true
6
- provision_command : mkdir -p /run/sshd
7
9
run_command : /lib/systemd/systemd
8
10
11
+ # Make sure the platforms listed below match up with
12
+ # the `env.matrix` instances defined in `.travis.yml`
9
13
platforms :
10
- # Latest distros
11
- - name : debian-9
12
- - name : ubuntu-18.04
13
- - name : centos-7
14
- - name : fedora-29
15
- - name : opensuse-42.3
14
+ # # SALT 2019.2
15
+ - name : debian-9-2019-2-py3
16
16
driver :
17
+ image : netmanagers/salt-2019.2-py3:debian-9
18
+ - name : ubuntu-1804-2019-2-py3
19
+ driver :
20
+ image : netmanagers/salt-2019.2-py3:ubuntu-1804
21
+ - name : centos-7-2019-2-py2
22
+ driver :
23
+ image : netmanagers/salt-2019.2-py2:centos-7
24
+ - name : fedora-29-2019-2-py2
25
+ driver :
26
+ image : netmanagers/salt-2019.2-py2:fedora-29
27
+
28
+ # # SALT 2018.3
29
+ - name : opensuse-423-2018-3-py2
30
+ driver :
31
+ image : netmanagers/salt-2018.3-py2:opensuse-423
17
32
run_command : /usr/lib/systemd/systemd
18
- provision_command :
19
- - systemctl enable sshd.service
33
+ - name : debian-8-2018-3-py2
34
+ driver :
35
+ image : netmanagers/salt-2018.3-py2:debian-8
36
+ - name : ubuntu-1604-2018-3-py2
37
+ driver :
38
+ image : netmanagers/salt-2018.3-py2:ubuntu-1604
39
+ - name : fedora-28-2018-3-py2
40
+ driver :
41
+ image : netmanagers/salt-2018.3-py2:fedora-28
20
42
21
- # Previous distros
22
- - name : debian-8
23
- - name : ubuntu-16.04
24
- - name : fedora-28
25
43
# centos-6 guest fails on Debian hosts due to vsyscall issues, see
26
44
# https://hub.docker.com/_/centos, "A note about vsyscall"
27
- - name : centos-6
45
+ # Disabled for `template-formula` because not `systemd` based
46
+ # - name: centos-6-2018-3
47
+ # driver:
48
+ # image: netmanagers/salt-2018.3-py2:centos-6
49
+ # run_command: /sbin/init
50
+
51
+ # #S SALT 2017.7
52
+ - name : debian-8-2017-7-py2
53
+ driver :
54
+ image : netmanagers/salt-2017.7-py2:debian-8
55
+ - name : ubuntu-1604-2017-7-py2
28
56
driver :
29
- run_command : /sbin/init
57
+ image : netmanagers/salt-2017.7-py2:ubuntu-1604
58
+ # - name: centos-6-2017-7
59
+ # driver:
60
+ # image: netmanagers/salt-2017.7-py2:centos-6
61
+ # run_command: /sbin/init
30
62
31
63
provisioner :
32
64
name : salt_solo
33
65
log_level : info
34
- salt_version : latest
66
+ salt_install : none
35
67
require_chef : false
36
68
formula : nginx
37
69
salt_copy_filter :
38
70
- .kitchen
39
71
- .git
40
72
state_top :
41
73
base :
42
- ' * ' :
43
- - nginx.ng
74
+ ' * ' :
75
+ - nginx.ng
44
76
pillars :
45
77
top.sls :
46
78
base :
@@ -50,145 +82,14 @@ provisioner:
50
82
nginx.sls : test/salt/default/pillar/nginx.sls
51
83
52
84
verifier :
85
+ # https://www.inspec.io/
53
86
name : inspec
54
87
sudo : true
88
+ # cli, documentation, html, progress, json, json-min, json-rspec, junit
55
89
reporter :
56
90
- cli
91
+ inspec_tests :
92
+ - path : test/integration/default
57
93
58
94
suites :
59
- # Latest distros, latest salt, python3
60
- # These distros have py3 packages available in salt's repo
61
- - name : v2019-2-py3
62
- includes :
63
- - debian-9
64
- - ubuntu-18.04
65
- provisioner :
66
- salt_bootstrap_options : -X -x python3 -d git %s
67
- salt_version : ' 2019.2'
68
- pillars :
69
- salt.sls :
70
- salt :
71
- release : ' 2019.2'
72
- py_ver : ' py3'
73
-
74
- verifier :
75
- inspec_tests :
76
- # - path: test/integration/2019-2
77
- - path : test/integration/default
78
-
79
- # Latest distros, latest salt, python2
80
- # Fedora ships updated py2 versions in their own repos
81
- - name : v2019-2-py2
82
- includes :
83
- - centos-7
84
- - fedora-29
85
- provisioner :
86
- salt_version : ' 2019.2'
87
- pillars :
88
- salt.sls :
89
- salt :
90
- release : ' 2019.2'
91
- py_ver : ' py2'
92
-
93
- verifier :
94
- inspec_tests :
95
- # - path: test/integration/2019-2
96
- - path : test/integration/default
97
-
98
- # Previous distros, previous salt, python2
99
- - name : v2018-3-py2
100
- includes :
101
- - debian-8
102
- - ubuntu-16.04
103
- - opensuse-42.3
104
- provisioner :
105
- # We require an old version of salt in the provisioner or,
106
- # the salt formula fails to downgrade to the desired version to test
107
- salt_version : ' 2018.3'
108
- pillars :
109
- salt.sls :
110
- salt :
111
- release : ' 2018.3'
112
- py_ver : ' py2'
113
- verifier :
114
- inspec_tests :
115
- # - path: test/integration/2018-3
116
- - path : test/integration/default
117
-
118
- # centos-6 ships with python2.6, so it requires extra bootstrapping parameters
119
- # to install python2.7
120
- - name : v2018-3-py2-bootstrap
121
- includes :
122
- - centos-6
123
- provisioner :
124
- salt_bootstrap_options : -X -d stable %s
125
- salt_version : ' 2018.3'
126
- pillars :
127
- salt.sls :
128
- salt :
129
- release : ' 2018.3'
130
- py_ver : ' py2'
131
- verifier :
132
- inspec_tests :
133
- # - path: test/integration/2018-3
134
- - path : test/integration/default
135
-
136
- # To tests fedora 28 & salt v2018.2, we need to force the package version
137
- # otherwise the image, which includes the 'updates' repo, will install 2019.2
138
- - name : v2018-3-py2-forced-version
139
- includes :
140
- - fedora-28
141
- provisioner :
142
- # We require an old version of salt in the provisioner or,
143
- # the salt formula fails to downgrade to the desired version to test
144
- salt_version : ' 2018.3'
145
- pillars :
146
- salt.sls :
147
- salt :
148
- release : ' 2018.3'
149
- py_ver : ' py2'
150
- version : ' 2018.3.0-1.fc28'
151
-
152
- verifier :
153
- inspec_tests :
154
- # - path: test/integration/2018-3
155
- - path : test/integration/default
156
-
157
- # Previous distros, oldest salt, python2
158
- - name : v2017-7-py2
159
- includes :
160
- - debian-8
161
- - ubuntu-16.04
162
- provisioner :
163
- # We require an old version of salt in the provisioner or,
164
- # the salt formula fails to downgrade to the desired version to test
165
- salt_version : ' 2017.7'
166
- pillars :
167
- salt.sls :
168
- salt :
169
- release : ' 2017.7'
170
- py_ver : ' py2'
171
- verifier :
172
- inspec_tests :
173
- # - path: test/integration/2017-7
174
- - path : test/integration/default
175
-
176
- # centos-6 ships with python2.6, so it requires extra bootstrapping parameters
177
- # to install python2.7
178
- - name : v2017-7-py2-bootstrap
179
- includes :
180
- - centos-6
181
- provisioner :
182
- # As centos-6 ships with python2.6, we use the bootstrapper to install python2.7
183
- salt_bootstrap_options : -X -d stable %s
184
- salt_version : ' 2017.7'
185
- pillars :
186
- salt.sls :
187
- salt :
188
- release : ' 2017.7'
189
- py_ver : ' py2'
190
- verifier :
191
- inspec_tests :
192
- # - path: test/integration/2017-7
193
- - path : test/integration/default
194
-
95
+ - name : default
0 commit comments