forked from GannettDigital/chef-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.kitchen.ec2.yml
More file actions
64 lines (60 loc) · 1.44 KB
/
.kitchen.ec2.yml
File metadata and controls
64 lines (60 loc) · 1.44 KB
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
driver:
name: ec2
aws_ssh_key_id: <%= ENV['AWS_SSH_KEY'] %>
security_group_ids: <%= ENV['AWS_SECURITY_GROUPS'] %>
region: <%= ENV['AWS_REGION'] %>
availability_zone: <%= ENV['AWS_AVAILABILITY_ZONE'] %>
require_chef_omnibus: true
subnet_id: <%= ENV['AWS_SUBNET'] %>
instance_type: <%= ENV['INSTANCE_SIZE'] %>
associate_public_ip: false
interface: private
user_data: <%= ENV['USER_DATA_PATH'] %>
tags:
OWNER: <%= ENV['AWS_OWNER_TAG'] %>
Name: <%= ENV['AWS_NAME_TAG'] %>
provisioner:
name: chef_zero
transport:
username: cloud-user
ssh_key: ~/.ssh/<%= ENV['AWS_SSH_KEY'] %>.pem
platforms:
- name: centos-6.7-python-integration-tests
driver:
image_id: <%= ENV['AWS_AMI_ID'] %>
suites:
- name: default
run_list:
- recipe[yum-gd]
- recipe[python]
attributes:
python:
setuptools_version: 18.0.1
virtualenv_version: 13.1.0
- name: package
run_list:
- recipe[yum-gd]
- recipe[python]
attributes:
python:
install_method: "package"
setuptools_version: 18.0.1
virtualenv_version: 13.1.0
- name: custom-package
run_list:
- recipe[yum-gd]
- recipe[python]
attributes:
python:
install_method: "custom-package"
setuptools_version: 18.0.1
virtualenv_version: 13.1.0
- name: source
run_list:
- recipe[yum-gd]
- recipe[python]
attributes:
python:
install_method: "source"
setuptools_version: 18.0.1
virtualenv_version: 13.1.0