Add copyright headers to comply with Arvados
[arvados-formula.git] / kitchen.yml
1 # -*- coding: utf-8 -*-
2 # vim: ft=yaml
3
4 # Copyright (C) The Arvados Authors. All rights reserved.
5 #
6 # SPDX-License-Identifier: Apache-2.0
7 ---
8 # For help on this file's format, see https://kitchen.ci/
9 driver:
10   name: docker
11   use_sudo: false
12   privileged: true
13   run_command: /lib/systemd/systemd
14
15 platforms:
16   ## SALT `tiamat`
17   - name: debian-10-tiamat-py3
18     driver:
19       image: saltimages/salt-tiamat-py3:debian-10
20   - name: debian-9-tiamat-py3
21     driver:
22       image: saltimages/salt-tiamat-py3:debian-9
23   - name: ubuntu-2004-tiamat-py3
24     driver:
25       image: saltimages/salt-tiamat-py3:ubuntu-20.04
26   - name: ubuntu-1804-tiamat-py3
27     driver:
28       image: saltimages/salt-tiamat-py3:ubuntu-18.04
29   - name: ubuntu-1604-tiamat-py3
30     driver:
31       image: saltimages/salt-tiamat-py3:ubuntu-16.04
32   - name: centos-7-tiamat-py3
33     driver:
34       image: saltimages/salt-tiamat-py3:centos-7
35
36   ## SALT `master`
37   - name: debian-10-master-py3
38     driver:
39       image: saltimages/salt-master-py3:debian-10
40   - name: debian-9-master-py3
41     driver:
42       image: saltimages/salt-master-py3:debian-9
43   - name: ubuntu-2004-master-py3
44     driver:
45       image: saltimages/salt-master-py3:ubuntu-20.04
46   - name: ubuntu-1804-master-py3
47     driver:
48       image: saltimages/salt-master-py3:ubuntu-18.04
49   - name: ubuntu-1604-master-py3
50     driver:
51       image: saltimages/salt-master-py3:ubuntu-16.04
52   - name: centos-7-master-py3
53     driver:
54       image: saltimages/salt-master-py3:centos-7
55
56   ## SALT `3003.0`
57   - name: debian-10-3003-0-py3
58     driver:
59       image: saltimages/salt-3003.0-py3:debian-10
60   - name: debian-9-3003-0-py3
61     driver:
62       image: saltimages/salt-3003.0-py3:debian-9
63   - name: ubuntu-2004-3003-0-py3
64     driver:
65       image: saltimages/salt-3003.0-py3:ubuntu-20.04
66   - name: ubuntu-1804-3003-0-py3
67     driver:
68       image: saltimages/salt-3003.0-py3:ubuntu-18.04
69   - name: centos-7-3003-0-py3
70     driver:
71       image: saltimages/salt-3003.0-py3:centos-7
72
73   ## SALT `3002.6`
74   - name: debian-10-3002-6-py3
75     driver:
76       image: saltimages/salt-3002.6-py3:debian-10
77   - name: debian-9-3002-6-py3
78     driver:
79       image: saltimages/salt-3002.6-py3:debian-9
80   - name: ubuntu-2004-3002-6-py3
81     driver:
82       image: saltimages/salt-3002.6-py3:ubuntu-20.04
83   - name: ubuntu-1804-3002-6-py3
84     driver:
85       image: saltimages/salt-3002.6-py3:ubuntu-18.04
86   - name: ubuntu-1604-3002-6-py3
87     driver:
88       image: saltimages/salt-3002.6-py3:ubuntu-16.04
89   - name: centos-7-3002-6-py3
90     driver:
91       image: saltimages/salt-3002.6-py3:centos-7
92
93   ## SALT `3001.7`
94   - name: debian-10-3001-7-py3
95     driver:
96       image: saltimages/salt-3001.7-py3:debian-10
97   - name: debian-9-3001-7-py3
98     driver:
99       image: saltimages/salt-3001.7-py3:debian-9
100   - name: ubuntu-2004-3001-7-py3
101     driver:
102       image: saltimages/salt-3001.7-py3:ubuntu-20.04
103   - name: ubuntu-1804-3001-7-py3
104     driver:
105       image: saltimages/salt-3001.7-py3:ubuntu-18.04
106   - name: ubuntu-1604-3001-7-py3
107     driver:
108       image: saltimages/salt-3001.7-py3:ubuntu-16.04
109   - name: centos-7-3001-7-py3
110     driver:
111       image: saltimages/salt-3001.7-py3:centos-7
112
113   ## SALT `3000.9`
114   - name: debian-10-3000-9-py3
115     driver:
116       image: saltimages/salt-3000.9-py3:debian-10
117   - name: debian-9-3000-9-py3
118     driver:
119       image: saltimages/salt-3000.9-py3:debian-9
120   - name: ubuntu-1804-3000-9-py3
121     driver:
122       image: saltimages/salt-3000.9-py3:ubuntu-18.04
123   - name: ubuntu-1604-3000-9-py3
124     driver:
125       image: saltimages/salt-3000.9-py3:ubuntu-16.04
126   - name: centos-7-3000-9-py3
127     driver:
128       image: saltimages/salt-3000.9-py3:centos-7
129   - name: ubuntu-1804-3000-9-py2
130     driver:
131       image: saltimages/salt-3000.9-py2:ubuntu-18.04
132   - name: ubuntu-1604-3000-9-py2
133     driver:
134       image: saltimages/salt-3000.9-py2:ubuntu-16.04
135
136 provisioner:
137   name: salt_solo
138   log_level: debug
139   salt_install: none
140   require_chef: false
141   formula: arvados
142   salt_copy_filter:
143     - .kitchen
144     - .git
145
146 verifier:
147   # https://www.inspec.io/
148   name: inspec
149   sudo: true
150   # cli, documentation, html, progress, json, json-min, json-rspec, junit
151   reporter:
152     - cli
153
154 suites:
155   #### api,websocket,keepproxy,keepweb,controller
156   - name: api
157     driver:
158       hostname: fixme.example.net
159     provisioner:
160       dependencies:
161         - name: single_host
162           path: test/salt/states/examples
163         - name: locale
164           repo: git
165           source: https://github.com/saltstack-formulas/locale-formula.git
166         - name: postgres
167           repo: git
168           source: https://github.com/saltstack-formulas/postgres-formula.git
169         - name: nginx
170           repo: git
171           source: https://github.com/saltstack-formulas/nginx-formula.git
172       state_top:
173         base:
174           '*':
175             - arvados._mapdata
176             - single_host.host_entries
177             - single_host.snakeoil_certs
178             - locale
179             - nginx.passenger
180             - postgres
181             - arvados.repo
182             - arvados.api
183             - arvados.websocket
184             - arvados.keepproxy
185             - arvados.keepweb
186             - arvados.controller
187             - arvados.dispatcher
188       pillars:
189         top.sls:
190           base:
191             '*':
192               - arvados
193               - example_locale
194               - example_postgres
195               - example_nginx
196               - example_nginx_api
197               - example_nginx_websocket
198               - example_nginx_keepweb
199               - example_nginx_controller
200               # keepproxy expects to retrieve a list of services from API, so
201               # installing/testing it without an api server running will fail
202               - example_nginx_keepproxy
203       pillars_from_files:
204         # yamllint disable rule:line-length
205         arvados.sls: test/salt/pillar/arvados.sls
206         example_locale.sls: test/salt/pillar/examples/locale.sls
207         example_postgres.sls: test/salt/pillar/examples/postgresql.sls
208         example_nginx.sls: test/salt/pillar/examples/nginx_passenger.sls
209         example_nginx_api.sls: test/salt/pillar/examples/nginx_api_configuration.sls
210         example_nginx_websocket.sls: test/salt/pillar/examples/nginx_websocket_configuration.sls
211         example_nginx_keepweb.sls: test/salt/pillar/examples/nginx_keepweb_configuration.sls
212         example_nginx_keepproxy.sls: test/salt/pillar/examples/nginx_keepproxy_configuration.sls
213         example_nginx_controller.sls: test/salt/pillar/examples/nginx_controller_configuration.sls
214         # yamllint enable rule:line-length
215     verifier:
216       inspec_tests:
217         - path: test/integration/api
218         - path: test/integration/websocket
219         - path: test/integration/keepproxy
220         - path: test/integration/keepweb
221         - path: test/integration/controller
222   #### workbench,workbench2,webshell
223   - name: workbench
224     driver:
225       hostname: workbench.fixme.example.net
226     provisioner:
227       dependencies:
228         - name: single_host
229           path: test/salt/states/examples
230         - name: nginx
231           repo: git
232           source: https://github.com/saltstack-formulas/nginx-formula.git
233       state_top:
234         base:
235           '*':
236             - arvados._mapdata
237             - single_host.host_entries
238             - single_host.snakeoil_certs
239             - nginx.passenger
240             - arvados.repo
241             - arvados.workbench
242             - arvados.workbench2
243       pillars:
244         top.sls:
245           base:
246             '*':
247               - arvados
248               - example_nginx
249               - example_nginx_workbench
250               - example_nginx_workbench2
251               - example_nginx_webshell
252       pillars_from_files:
253         # yamllint disable rule:line-length
254         arvados.sls: test/salt/pillar/arvados.sls
255         example_nginx.sls: test/salt/pillar/examples/nginx_passenger.sls
256         example_nginx_workbench.sls: test/salt/pillar/examples/nginx_workbench_configuration.sls
257         example_nginx_workbench2.sls: test/salt/pillar/examples/nginx_workbench2_configuration.sls
258         example_nginx_webshell.sls: test/salt/pillar/examples/nginx_webshell_configuration.sls
259         # yamllint enable rule:line-length
260     verifier:
261       inspec_tests:
262         - path: test/integration/repo
263         - path: test/integration/workbench
264         - path: test/integration/workbench2
265   #### shell
266   - name: shell
267     driver:
268       hostname: shell.fixme.example.net
269     provisioner:
270       state_top:
271         base:
272           '*':
273             - arvados._mapdata
274             # We also test repo here. No sense for a whole separate suite
275             - arvados.repo
276             - arvados.shell
277       pillars:
278         top.sls:
279           base:
280             '*':
281               - arvados
282       pillars_from_files:
283         arvados.sls: test/salt/pillar/arvados_dev.sls
284     verifier:
285       inspec_tests:
286         - path: test/integration/shell
287   #### keepstore
288   - name: keepstore
289     driver:
290       hostname: keep0.fixme.example.net
291     provisioner:
292       state_top:
293         base:
294           '*':
295             - arvados._mapdata
296             - arvados.repo
297             - arvados.keepstore
298       pillars:
299         top.sls:
300           base:
301             '*':
302               - arvados
303       pillars_from_files:
304         arvados.sls: test/salt/pillar/arvados_dev.sls
305     verifier:
306       inspec_tests:
307         - path: test/integration/keepstore