forked from sous-chefs/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.yml
128 lines (112 loc) · 2.6 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
---
driver:
name: vagrant
customize:
memory: 2048
cpus: 2
provisioner:
name: chef_infra
product_name: chef
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: almalinux-8
- name: amazonlinux-2
- name: centos-7
- name: centos-stream-8
- name: debian-10
- name: debian-11
- name: fedora-latest
- name: rockylinux-8
- name: ubuntu-18.04
- name: ubuntu-20.04
suites:
###############################
# docker_installation resources
###############################
- name: installation_script_main
excludes:
- 'almalinux-8'
- 'amazonlinux-2'
- 'rockylinux-8'
attributes:
docker:
repo: 'main'
run_list:
- recipe[docker_test::installation_script]
- name: installation_script_test
excludes:
- 'almalinux-8'
- 'amazonlinux-2'
- 'rockylinux-8'
attributes:
docker:
repo: 'test'
run_list:
- recipe[docker_test::installation_script]
- name: installation_package
run_list:
- recipe[docker_test::installation_package]
excludes:
- 'amazonlinux-2'
- name: installation_tarball
run_list:
- recipe[docker_test::installation_tarball]
- name: install_and_stop
run_list:
- recipe[docker_test::install_and_stop]
##################
# resource testing
##################
- name: resources
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '20.10.11'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::image]
- recipe[docker_test::container]
- recipe[docker_test::exec]
- recipe[docker_test::plugin]
- name: network
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '20.10.11'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::network]
- name: volume
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '20.10.11'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::volume]
- name: registry
provisioner:
enforce_idempotency: false
multiple_converge: 1
attributes:
docker:
version: '20.10.11'
run_list:
- recipe[docker_test::default]
- recipe[docker_test::registry]
#############################
# quick service smoke testing
#############################
- name: smoke
run_list:
- recipe[docker_test::smoke]