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