-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
50 lines (47 loc) · 1.29 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
---
driver:
name: ec2
require_chef_omnibus: <%= ENV['REQUIRE_CHEF_OMNIBUS'] %>
tags: {
"Name": <%= ENV['COOKBOOK'] %>
}
aws_ssh_key_id: <%= ENV['EC2_SSH_KEY_ID'] %>
instance_type: <%= ENV['EC2_INSTANCE_TYPE'] %>
region: <%= ENV['EC2_REGION'] %>
availability_zone: <%= ENV['EC2_AZ'] %>
subnet_id: <%= ENV['EC2_SUBNET_ID'] %>
security_group_ids: [<%= ENV['EC2_SG'] %>]
retryable_tries: 120
provisioner:
name: chef_zero
environments_path: test/environments
client_rb:
environment: cookbook_ci
platforms:
- name: ubuntu
transport:
name: ssh
username: <%= ENV['SSH_USER'] %>
ssh_key: <%= ENV['SSH_KEY'] %>
driver:
image_search:
"name": <%= ENV['EC2_UBUNTU_IMAGE_NAME'] %>
block_device_mappings:
- device_name: /dev/sda1
ebs:
delete_on_termination: true
- name: windows
transport:
name: winrm
username: <%= ENV['WIN_USER'] %>
password: <%= ENV['WIN_PASS'] %>
driver:
image_search:
"name": <%= ENV['EC2_IMAGE_NAME'] %>
suites:
- name: <%= ENV['COOKBOOK'] %>
data_bags_path: <%= ENV['CHEF_DATA_BAGS'] %>
encrypted_data_bag_secret_key_path: <%= ENV['CHEF_SECRET_FILE'] %>
run_list:
- recipe[daptiv_java::default]
- recipe[minitest-handler::default]