forked from ajgon/opsworks_ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
127 lines (123 loc) · 3.61 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
driver:
name: vagrant
provisioner:
name: chef_zero
# Uncomment the following verifier to leverage Inspec instead of Busser (the
# default verifier)
# verifier:
# name: inspec
platforms:
- name: ubuntu-14.04
suites:
- name: default
data_bags_path: "test/integration/data_bags/default"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::deploy]
# no attributes at all, to prove that cookbook can work "out of the box"
attributes:
- name: all_options
data_bags_path: "test/integration/data_bags/default"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::provision]
- recipe[opsworks_ruby::deploy]
attributes:
deploy:
dummy_project:
global:
environment: "staging"
database:
reaping_frequency: 10
framework:
envs_in_console: true
appserver:
application_yml: true
dot_env: true
timeout: 120
worker_processes: 10
log_requests: true
webserver:
dhparams: |
-----BEGIN DH PARAMETERS-----
MEYCQQDaYxpaoXcGqR9AiGLCNR2iRs1CzEMvetbqEfKgXUzplylWglfqbPoDLcef
IEm9LTZYRszYrC3l3StpAG0VI35rAgEC
-----END DH PARAMETERS-----
ssl_for_legacy_browsers: true
client_max_body_size: "128m"
extra_config: "location /ok { return 201; }"
extra_config_ssl: true
worker:
adapter: "sidekiq"
config:
concurency: 5
verbose: true
queues:
- default
- mailers
- name: unicorn_apache_hanami_resque
data_bags_path: "test/integration/data_bags/unicorn_apache_hanami_resque"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::provision]
- recipe[opsworks_ruby::deploy]
attributes:
deploy:
dummy_project:
framework:
adapter: 'hanami'
appserver:
adapter: 'unicorn'
backlog: 2048
tries: 10
webserver:
adapter: 'apache2'
dhparams: |
-----BEGIN DH PARAMETERS-----
MEYCQQDaYxpaoXcGqR9AiGLCNR2iRs1CzEMvetbqEfKgXUzplylWglfqbPoDLcef
IEm9LTZYRszYrC3l3StpAG0VI35rAgEC
-----END DH PARAMETERS-----
limit_request_body: 134217728
extra_config: "# lorem ipsum dolor sit amet"
extra_config_ssl: true
worker:
adapter: 'resque'
workers: 3
queues:
- default
- mailers
- name: thin_nginx_padrino_delayed_job
data_bags_path: "test/integration/data_bags/thin_nginx_padrino_delayed_job"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::provision]
- recipe[opsworks_ruby::deploy]
attributes:
deploy:
dummy_project:
framework:
adapter: 'padrino'
appserver:
adapter: 'thin'
max_connections: 4096
max_persistent_connections: 2048
worker:
adapter: 'delayed_job'
queues:
- default
- mailers
- name: nullified
data_bags_path: "test/integration/data_bags/nullified"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::deploy]
attributes:
deploy:
dummy_project:
framework:
adapter: 'null'
appserver:
adapter: 'null'
webserver:
adapter: 'null'