-
Notifications
You must be signed in to change notification settings - Fork 92
/
kitchen.yml
94 lines (81 loc) · 1.65 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
94
---
driver:
name: dokken
chef_version: latest
privileged: true
volumes: [ '/var/lib/docker' ]
env: [CHEF_LICENSE=accept]
transport:
name: dokken
provisioner:
name: dokken
verifier:
name: inspec
platforms:
- name: hello
driver:
image: alpine:latest
env:
- FOO=BAR
tmpfs:
/tmp: rw,noexec,nosuid,nodev,size=65536k
provisioner:
chef_binary: /bin/true
- name: centos
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
volumes:
- <%= ENV['PWD'] %>/.git:/opt/kitchen-dokken/.git
suites:
- name: default
includes:
- centos
run_list:
- recipe[dokken_test::default]
attributes:
dokken_test:
revision: <%= `git rev-parse HEAD` %>
- name: idempotency
includes:
- centos
provisioner:
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
run_list:
- recipe[dokken_test::default]
- name: hello
driver:
entrypoint:
- /bin/sh
- -c
- while :; do nc -lvp 1234 -e /bin/sh -c 'echo hello'; done
hostname: hello.computers.biz
ports: '1234'
pid_one_command: ''
includes:
- hello
- name: helloagain
driver:
hostname: helloagain.computers.biz
ports:
- '8301'
- '8301:8301/udp'
- '127.0.0.1:8500:8500'
includes:
- hello
- name: local_image
includes:
- local_image
- name: ipv6
includes:
- centos
driver:
ipv6: true
- name: bridge
driver:
network_mode: bridge
- name: host
driver:
network_mode: host