This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
/
.kitchen.yml
231 lines (227 loc) · 6.86 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
---
driver:
name: vagrant
provisioner:
name: chef_zero
product_name: chef
product_version: 12
# Uncomment the following verifier to leverage Inspec instead of Busser (the
# default verifier)
# verifier:
# name: inspec
platforms:
- name: ubuntu-18.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::deploy]
attributes:
deploy:
dummy_project:
global:
environment: "staging"
database:
reaping_frequency: 10
framework:
envs_in_console: true
assets_precompile: false
appserver:
application_yml: true
dot_env: true
timeout: 120
worker_processes: 10
log_requests: true
webserver:
dhparams: |
-----BEGIN DH PARAMETERS-----
MIGHAoGBANRGczP7P07whicqc7obbVeJ0XH04et8zhuFxIiFqzvFVWTq31wY/Cl6
0exI/+gU7ZeAooPEOogo/ejxv9VZyIQ0DtTr9e6NZmEYVc3AcT+m+p2aaSb3xtGw
PgDsea3pdwCZ3gTJm0w+0hAvoDmQGMFFjjPM2kgQdjJJ4oWTEpWrAgEC
-----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"
dot_env: true
config:
concurency: 5
verbose: true
queues:
- default
- mailers
- name: default_with_shoryuken_and_fullstaq
data_bags_path: "test/integration/data_bags/default_with_shoryuken_and_fullstaq"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::deploy]
attributes:
'ruby-version': '2.6'
'ruby-variant': 'jemalloc'
'ruby-provider': 'fullstaq'
deploy:
dummy_project:
worker:
adapter: "shoryuken"
process_count: 1
require_rails: true
config:
concurrency: 6
verbose: true
- name: http_unicorn_apache_hanami_resque
data_bags_path: "test/integration/data_bags/http_unicorn_apache_hanami_resque"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::deploy]
attributes:
'ruby-version': '2.6'
deploy:
dummy_project:
framework:
adapter: 'hanami'
appserver:
adapter: 'unicorn'
backlog: 2048
tries: 10
webserver:
adapter: 'apache2'
dhparams: |
-----BEGIN DH PARAMETERS-----
MIGHAoGBANRGczP7P07whicqc7obbVeJ0XH04et8zhuFxIiFqzvFVWTq31wY/Cl6
0exI/+gU7ZeAooPEOogo/ejxv9VZyIQ0DtTr9e6NZmEYVc3AcT+m+p2aaSb3xtGw
PgDsea3pdwCZ3gTJm0w+0hAvoDmQGMFFjjPM2kgQdjJJ4oWTEpWrAgEC
-----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: http_thin_nginx_padrino_delayed_job
data_bags_path: "test/integration/data_bags/http_thin_nginx_padrino_delayed_job"
run_list:
- recipe[opsworks_ruby::setup]
- 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'
- name: maximum_override
data_bags_path: "test/integration/data_bags/maximum_override"
run_list:
- recipe[opsworks_ruby::setup]
- recipe[opsworks_ruby::deploy]
attributes:
defaults:
global:
logrotate_template_owner: 'deploy'
logrotate_template_group: 'root'
logrotate_rotate: 75
framework:
logrotate_options:
- missingok
- notifempty
- copytruncate
- sharedscripts
logrotate_template_group: 'www-data'
source:
generated_ssh_wrapper: '/var/tmp/my-generated-ssh-wrapper.sh'
webserver:
logrotate_options:
- missingok
- notifempty
- copytruncate
deploy:
other_project:
appserver:
adapter: 'passenger'
mount_point: '/some/mount/point'
max_pool_size: 3
min_instances: 2
database:
primary:
adapter: 'sqlite3'
database: 'db/primary.sqlite3'
secondary:
adapter: 'sqlite3'
database: 'db/secondary.sqlite3'
framework:
adapter: 'rails'
assets_precompilation_command: '/bin/true'
logrotate_name: 'dumber-app-logrotate'
logrotate_frequency: 'weekly'
logrotate_template_mode: '0750'
global:
deploy_revision: true
logrotate_name: 'this-will-be-ignored'
logrotate_frequency: 'monthly'
logrotate_log_paths:
- /this/will/be/ignored1.log
webserver:
adapter: 'apache2'
logrotate_log_paths:
- /tmp/log1.log
- /tmp/log2.log
logrotate_options:
- missingok
- notifempty
logrotate_rotate: 15
logrotate_template_owner: 'root'
port: 8080
ssl_port: 8443
worker:
adapter: 'good_job'
process_count: 1
queues:
- default
- mailers
yet_another_project:
appserver:
adapter: 'unicorn'
database:
adapter: 'null'
framework:
adapter: 'rails'
assets_precompilation_command: '/bin/true'
logrotate_name: 'dumberer-app-logrotate'
webserver:
adapter: 'apache2'
port: 8081
'ruby-version': '2.7'