forked from chef-cookbooks/chef-ingredient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitchen.yml
115 lines (105 loc) · 2.73 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
driver:
name: vagrant
customize:
memory: 2048
cpus: 2
provisioner:
require_chef_omnibus: <%= ENV['CHEF_VERSION'] || true %>
name: chef_zero
data_bags_path: test/fixtures/data_bags
deprecations_as_errors: true
retry_on_exit_code:
- 213
max_retries: 1
wait_for_retry: 1
chef_license: accept-no-persist
client_rb:
exit_status: :enabled
client_fork: false
silence_deprecation_warnings:
- chef-25
verifier:
name: inspec
platforms:
- name: amazonlinux
driver_config:
box: mvbcoding/awslinux
- name: amazonlinux-2
- name: centos-6
- name: centos-7
- name: debian-9
- name: debian-10
- name: fedora-29
- name: freebsd-12
- name: opensuse-leap-42
- name: opensuse-leap-15
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: macos-10.12
driver:
box: chef/macos-10.12 # private
- name: windows-server-2012r2
driver:
box: tas50/windows_2012r2
customize:
cpus: 4
- name: windows-server-2016
driver_config:
box: tas50/windows_2016
customize:
cpus: 4
default: &default
attributes:
chef-ingredient:
mixlib-install:
# Set to install mixlib-install from source
git_ref: <%= ENV['MIXLIB_INSTALL_GIT_REF'] %>
suites:
- name: default
<<: *default
excludes: [ 'macos-10.12', 'windows-server-2012r2', 'windows-server-2016-standard' ]
run_list:
<% if ENV['MIXLIB_INSTALL_GIT_REF'] %>
- recipe[test::install_git]
<% end %>
- recipe[test]
- recipe[test::repo]
- name: local_package_install
<<: *default
excludes: [ 'macos-10.12', 'windows-server-2012r2', 'windows-server-2016-standard' ]
run_list:
- recipe[test]
- recipe[test::local]
- name: chefdk
<<: *default
includes: [ 'ubuntu-16.04', 'centos-6', 'centos-7', 'macos-10.12', 'windows-server-2012r2', 'windows-server-2016-standard' ]
run_list:
<% if ENV['MIXLIB_INSTALL_GIT_REF'] %>
- recipe[test::install_git]
<% end %>
- recipe[test]
- recipe[test::chefdk]
- name: inspec
<<: *default
includes: [ 'ubuntu-16.04', 'centos-6', 'centos-7', 'macos-10.12', 'windows-server-2012r2', 'windows-server-2016-standard' ]
run_list:
<% if ENV['MIXLIB_INSTALL_GIT_REF'] %>
- recipe[test::install_git]
<% end %>
- recipe[test]
- recipe[test::inspec]
- name: chef_server
includes: [ 'ubuntu-16.04', 'centos-7' ]
run_list:
- recipe[test]
- recipe[test::chef_server]
- name: chef_automatev2
driver:
customize:
memory: 2560
includes: [ 'ubuntu-18.04', 'centos-7' ]
run_list:
- recipe[test::automatev2]
verifier:
inspec_tests:
- test/integration/chef_automatev2