-
Notifications
You must be signed in to change notification settings - Fork 261
/
kitchen.docker.yml
116 lines (107 loc) · 3.17 KB
/
kitchen.docker.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: docker
use_sudo: false
provisioner:
deprecations_as_errors: true
solo_rb:
silence_deprecation_warnings:
- chef-25
platforms:
# Exclude this OS for now, due to some odd behavior with the NTP check on CircleCI systems.
# See https://circleci.com/gh/DataDog/chef-datadog/19
# and http://support.ntp.org/bin/view/Support/KnownOsIssues#Section_9.2.4.2.5.3.
# - name: ubuntu-12.04
- name: ubuntu-14.04
driver_config:
require_chef_omnibus: 14.12
- name: centos-6.6
driver_config:
require_chef_omnibus: 14.12
image: 'datadog/docker-library:chef_kitchen_systemd_centos_6'
run_command: /root/start.sh
attributes:
datadog:
service_provider: Systemd
- name: centos-7.7
driver_config:
require_chef_omnibus: 14.12
image: 'datadog/docker-library:chef_kitchen_systemd_centos_7'
run_command: /root/start.sh
- name: centos-7.7
driver_config:
require_chef_omnibus: 16.5
image: 'datadog/docker-library:chef_kitchen_systemd_centos_7'
run_command: /root/start.sh
- name: debian-8.11
driver_config:
require_chef_omnibus: 14.12
# The Debian 8 (Jessie) GPG key expired on Sat Nov 19 2022 21:01:13 GMT+0000.
# This Docker image uses gpgv wrapper that ignores key expiration date but checks package signatures.
image: 'datadog/docker-library:chef_kitchen_apt_debian_8'
- name: rocky-8
driver_config:
platform: rhel # kitchen-docker doesn't recognize rocky otherwise
require_chef_omnibus: 16.17.4
image: 'datadog/docker-library:chef_kitchen_systemd_rocky_8'
run_command: /root/start.sh
# workaround https://github.com/chef/chef/issues/14034 which has been
# fixed, but only for fresh Chef versions (>= 18)
provision_command:
- echo "CentOS Linux release 8" > /etc/redhat-release
suites:
<%
agent_major_versions = %w(
5
6
7
)
agent_major_versions.each do |agent_major_version|
%>
- name: dd-agent-handler<%= agent_major_version %>
run_list:
- recipe[datadog::dd-agent]
- recipe[datadog::dd-handler]
attributes:
datadog:
agent_major_version: <%= agent_major_version %>
api_key: somenonnullapikeythats32charlong
application_key: alsonotnil
chef_handler_enable: true
<% if %w(6 7).include?(agent_major_version) %>
excludes:
- ubuntu-14.04
- debian-8.11
<% end %>
<% if %w(5).include?(agent_major_version) %>
excludes:
- centos-7.7
<% end %>
<% end %>
- name: dd-agent-gpgcheck-recent
run_list:
- recipe[datadog::dd-agent]
- recipe[datadog::dd-handler]
attributes:
datadog: &DATADOG
agent_major_version: 7
api_key: somenonnullapikeythats32charlong
application_key: alsonotnil
chef_handler_enable: true
excludes:
- ubuntu-14.04
- debian-8.11
- name: dd-agent-gpgcheck-older
run_list:
- recipe[datadog::dd-agent]
- recipe[datadog::dd-handler]
attributes:
datadog: &DATADOG
agent_major_version: 7
agent_minor_version: 20.0
api_key: somenonnullapikeythats32charlong
application_key: alsonotnil
chef_handler_enable: true
excludes:
- ubuntu-14.04
- debian-8.11