-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
63 lines (59 loc) · 1.43 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
---
driver:
name: vagrant
provisioner:
name: chef_zero
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:
- name: ubuntu-16.04
driver:
network:
- ["private_network", {ip: "192.168.34.2"}]
attributes:
chef-grafana:
install:
version: 5.0.3
config:
server:
domain: 192.168.34.2
http_addr: 192.168.34.2
http_port: 3000
- name: centos-7.3
driver:
network:
- ["private_network", {ip: "192.168.34.3"}]
attributes:
chef-grafana:
install:
version: 5.0.3-1
config:
server:
domain: 192.168.34.3
http_addr: 192.168.34.3
http_port: 3000
suites:
- name: default
data_bags_path: test/fixtures/default/data_bags
run_list:
- recipe[prometheus-server::default]
verifier:
inspec_tests:
- test/smoke/default
attributes:
chef-grafana:
config:
auth.github:
client_id: <%= ENV['CLIENT_ID'] %>
client_secret: <%= ENV['CLIENT_SECRET'] %>
prometheus:
alertmanager:
slack_api_url: <%= ENV['SLACK_API_URL'] %>
users:
- test_user
chef-vault:
databags_fallback: true