-
Notifications
You must be signed in to change notification settings - Fork 6
/
kitchen.yml
73 lines (69 loc) · 1.98 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
# -*- 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
provision_command:
- 'apt-get update && apt-get install -y python3-pygit2'
- 'echo "PleaseChangeThisVerySecretPassword12" > /srv/user-passwords.txt'
run_command: /usr/lib/systemd/systemd
provisioner:
name: salt_solo
log_level: debug
salt_install: none
require_chef: false
salt_copy_filter:
- .kitchen
- .git
salt_minion_id: 'osw-devops-ci'
state_collection: 'salt'
state_top_from_file: true
dependencies:
- name: 'files'
path: './test/salt'
- name: 'states'
path: './test/salt'
pillars_from_directories:
- pillar
- test/salt/pillar
salt_minion_extra_config:
fileserver_backend:
- roots
- gitfs
gitfs_remotes:
- https://github.com/saltstack-formulas/salt-formula.git
- https://github.com/saltstack-formulas/cron-formula.git
- https://github.com/saltstack-formulas/nginx-formula.git
- https://github.com/saltstack-formulas/php-formula.git
- https://github.com/saltstack-formulas/supervisor-formula.git
- https://github.com/saltstack-formulas/users-formula.git
- https://github.com/saltstack-formulas/logrotate-formula.git
platforms:
## SALT `master`
- name: ubuntu-2204-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-22.04
run_command: /lib/systemd/systemd
- name: ubuntu-2004-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-20.04
run_command: /lib/systemd/systemd
- name: ubuntu-1804-master-py3
driver:
image: saltimages/salt-master-py3:ubuntu-18.04
run_command: /lib/systemd/systemd
verifier:
# https://www.inspec.io/
name: inspec
sudo: true
reporter:
# cli, documentation, html, progress, json, json-min, json-rspec, junit
- cli
suites:
- name: default
verifier:
inspec_tests:
- path: test/integration/default