forked from DataDog/chef-datadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.docker.yml
62 lines (58 loc) · 1.58 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
---
driver:
name: docker
use_sudo: false
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
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 %>
<% end %>