forked from RobertFach/etcd-formula
-
Notifications
You must be signed in to change notification settings - Fork 21
/
.kitchen.yml
executable file
·59 lines (55 loc) · 1.25 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
---
driver:
name: docker
use_sudo: false
privileged: true
provisioner:
name: salt_solo
log_level: warning
require_chef: false
formula: etcd
state_top:
base:
'*':
- etcd
pillars:
top.sls:
base:
'*':
- etcd
platforms:
- name: ubuntu-18.04
driver_config:
provision_command:
- apt-get update && apt-get install -y locales ifupdown
- locale-gen en_US.UTF-8
- update-locale LANG=en_US.UTF-8
- mkdir -p /run/sshd
run_command: /lib/systemd/systemd
- name: centos-7
driver_config:
run_command: /usr/lib/systemd/systemd
image: saltstack/centos-7-minimal
suites:
- name: default
provisioner:
pillars:
etcd.sls:
etcd:
version: '3.2.24'
service:
auto_tls: ''
peer_auto_tls: ''
- name: version-3.3.9
provisioner:
pillars:
etcd.sls:
etcd:
version: '3.3.9'
service:
auto_tls: ''
peer_auto_tls: ''
verifier:
name: shell
remote_exec: false
command: testinfra -vvv --connection=docker --hosts=root@$KITCHEN_CONTAINER_ID --junit-xml junit-$KITCHEN_INSTANCE.xml test/integration/$KITCHEN_SUITE