forked from swarmlet/swarmlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.yml
59 lines (53 loc) · 1.08 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: vagrant
vm_hostname: swarmlet
gui: false
cache_directory: false
customize:
memory: 1024
usbxhci: 'off'
ssh:
shell: /bin/sh
synced_folders:
- ["./", "/tmp/kitchen"]
provisioner:
name: shell
command: |
cat /tmp/kitchen/install | bash -s \
INSTALLATION_TYPE=noninteractive \
SWARMLET_INSTALL_ROOT=/tmp/kitchen \
INSTALL_FROM=local \
INSTALL_MODULES="swarmpit" \
SWARMLET_USERNAME=admin \
SWARMLET_PASSWORD=admin \
ROOT_DOMAIN=example.net \
DEBUG=true
verifier:
name: inspec
reporter:
- progress
platforms:
- name: buster
driver_config:
box: debian/buster64
platform: debian
- name: focal
driver_config:
box: bento/ubuntu-20.04
platform: ubuntu
suites:
- name: debian
includes:
- buster
verifier:
inspec_tests:
- path: test/kitchen/common
- path: test/kitchen/debian
- name: ubuntu
includes:
- focal
verifier:
inspec_tests:
- path: test/kitchen/common
- path: test/kitchen/ubuntu