-
Notifications
You must be signed in to change notification settings - Fork 2
/
kitchen.yml
42 lines (36 loc) · 1.15 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
---
driver:
name: <%= ENV['PROVIDER'] %>
<% if ENV['PROVIDER'] == 'cloudformation' %>
stack_name: <%= ENV['PROVIDER'] %>-<%= ENV['USER'] %>
template_file: cloudformation-aws-collection/templates/collection.yaml
capabilities: [CAPABILITY_IAM]
change_set_name: <%= ENV['USER'] %>-change-set
parameters:
ObserveCustomer: <%= ENV['OBSERVE_CUSTOMER'] %>
ObserveToken: <%= ENV['OBSERVE_TOKEN'] %>
ObserveDomain: <%= ENV['OBSERVE_DOMAIN'] %>
<% elsif ENV['PROVIDER'] == 'terraform' %>
root_module_directory: terraform-aws-collection/
command_timeout: 1200
variables:
observe_customer: "<%= ENV['OBSERVE_CUSTOMER'] %>"
observe_token: "<%= ENV['OBSERVE_TOKEN'] %>"
observe_domain: "<%= ENV['OBSERVE_DOMAIN'] %>"
name: <%= ENV['PROVIDER'] %>-<%= ENV['USER'] %>
<% end %>
provisioner:
name: <%= ENV.fetch('PROVIDER') %>
platforms:
- name: aws
transport:
name: exec
lifecycle:
post_destroy:
- rspec -c -f documentation --default-path '/workdir' -P 'test/integration/destruction/verify/destruction_spec.rb'
verifier:
name: awspec
patterns:
- 'test/integration/base/verify/collection_spec.rb'
suites:
- name: base