forked from sous-chefs/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.yml
143 lines (127 loc) · 2.9 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
driver:
name: vagrant
customize:
memory: 2048
cpus: 2
provisioner:
name: chef_solo
product_name: chef
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: amazonlinux-2
- name: debian-9
- name: debian-10
- name: centos-7
- name: centos-8
- name: fedora-latest
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: ubuntu-20.04
suites:
###############################
# docker_installation resources
###############################
- name: installation_script_main
excludes:
- 'amazonlinux-2'
attributes:
docker:
repo: 'main'
run_list:
- recipe[docker_test::installation_script]
- name: installation_script_test
excludes:
- 'amazonlinux-2'
attributes:
docker:
repo: 'test'
run_list:
- recipe[docker_test::installation_script]
- name: installation_script_experimental
excludes:
- 'amazonlinux-2'
attributes:
docker:
repo: 'experimental'
run_list:
- recipe[docker_test::installation_script]
- name: installation_package
attributes:
docker:
version: '19.03.13'
run_list:
- recipe[docker_test::installation_package]
excludes:
- 'amazonlinux-2'
- name: installation_tarball
run_list:
- recipe[docker_test::installation_tarball]
##################
# resource testing
##################
- name: resources
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '19.03.13'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::image]
- recipe[docker_test::container]
- recipe[docker_test::exec]
- recipe[docker_test::plugin]
excludes:
- 'amazonlinux-2'
- 'fedora-latest'
- name: network
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '19.03.13'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::network]
excludes:
- 'amazonlinux-2'
- 'fedora-latest'
- name: volume
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '19.03.13'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::volume]
excludes:
- 'amazonlinux-2'
- 'fedora-latest'
- name: registry
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '19.03.13'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::registry]
excludes:
- 'amazonlinux-2'
- 'fedora-latest'
#############################
# quick service smoke testing
#############################
- name: smoke
run_list:
- recipe[docker_test::smoke]