generated from saltstack-formulas/template-formula
-
Notifications
You must be signed in to change notification settings - Fork 4
/
kitchen.yml
93 lines (86 loc) · 2.15 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
81
82
83
84
85
86
87
88
89
90
91
92
93
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
# For help on this file's format, see https://kitchen.ci/
driver:
name: docker
use_sudo: false
privileged: true
run_command: /lib/systemd/systemd
# Make sure the platforms listed below match up with
# the `env.matrix` instances defined in `.travis.yml`
platforms:
## SALT `tiamat`
- name: debian-10-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:debian-10
- name: ubuntu-2004-tiamat-py3
driver:
image: saltimages/salt-tiamat-py3:ubuntu-20.04
## SALT `master`
- name: debian-10-master-py3
driver:
image: saltimages/salt-master-py3:debian-10
- name: ubuntu-2004-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-20.04
## SALT `3001`
- name: debian-10-3001-py3
driver:
image: saltimages/salt-3001-py3:debian-10
- name: ubuntu-2004-3001-py3
driver:
image: saltimages/salt-3001-py3:ubuntu-20.04
## SALT `3000.3`
- name: debian-10-3000-3-py3
driver:
image: saltimages/salt-3000.3-py3:debian-10
provisioner:
name: salt_solo
log_level: debug
salt_install: none
require_chef: false
formula: nextcloud
salt_copy_filter:
- .kitchen
- .git
verifier:
# https://www.inspec.io/
name: inspec
sudo: true
# cli, documentation, html, progress, json, json-min, json-rspec, junit
reporter:
- cli
suites:
- name: default
excludes:
- centos-6-2019-2-py2
- amazonlinux-1-2019-2-py2
provisioner:
state_top:
base:
'G@os_family:Suse or G@os_family:Debian':
- states.cron
- states.bzip2
- states.php
- states.sqlite
'*':
- nextcloud._mapdata
- nextcloud
- nextcloud.apache
- nextcloud.client
pillars:
top.sls:
base:
'*':
- nextcloud
- define_roles
pillars_from_files:
nextcloud.sls: pillar.example
define_roles.sls: test/salt/pillar/define_roles.sls
dependencies:
- name: states
path: ./test/salt
verifier:
inspec_tests:
- path: test/integration/default