-
Notifications
You must be signed in to change notification settings - Fork 3
/
.kitchen.yml
72 lines (66 loc) · 1.74 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
64
65
66
67
68
69
70
71
72
---
driver_plugin: ec2
driver_config:
require_chef_omnibus: latest
aws_ssh_key_id: <%= ENV['AWS_EC2_KEYPAIR'] %>
# aws_access_key_id: <%= ENV['AWS_ACCESS_KEY'] %> #autoload from ENV:AWS_ACCESS_KEY
# aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %> #autoload from ENV:AWS_SECRET_ACCESS_KEY
transport:
ssh_key: <%= ENV['AWS_EC2_KEYPASS'] %>
username: ec2-user
platforms:
- name: amazon-linux-micro-tokyo
driver_config:
instance_type: t1.micro
image_id: ami-923d12f5 # Amazon Linux AMI 2017.03.0 (HVM), SSD Volume Type
region: ap-northeast-1
availability_zone: ap-northeast-1a
tags:
Name: test-kitchen-micro
- name: amazon-linux-large-tokyo
driver_config:
instance_type: c3.large
image_id: ami-923d12f5 # Amazon Linux AMI 2017.03.0 (HVM), SSD Volume Type
region: ap-northeast-1
availability_zone: ap-northeast-1a
tags:
Name: test-kitchen-large
suites:
- name: amimoto
run_list:
- recipe[amimoto::nginx]
- recipe[amimoto::default]
- recipe[amimoto::nginx_default]
- recipe[amimoto::wordpress]
- recipe[amimoto::report_handler]
attributes:
phpfpm:
version: "70"
wordpress:
db:
user_name: kitchen
- name: hhvm-amimoto
run_list:
- recipe[amimoto::nginx]
- recipe[amimoto::default]
- recipe[amimoto::nginx_default]
- recipe[amimoto::wordpress]
- recipe[amimoto::report_handler]
attributes:
hhvm:
enabled: true
wordpress:
db:
user_name: kitchen
# redis:
# enabled: true
# memcached:
# enabled: false
#- name: amimoto-nfs
# run_list:
# - recipe[amimoto::default]
# - recipe[testmoto::default]
# - recipe[amimoto::report_handler]
# attributes: {}
busser:
sudo: true