This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
92 lines (80 loc) · 2.37 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
---
#<% require 'kitchen-sync' %>
driver_plugin: vagrant
driver_config:
customize:
cpus: 2
memory: 1536
cpuexecutioncap: 75
box: opscode-ubuntu-12.04
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
provisioner:
name: chef_zero
require_chef_omnibus: 'latest'
chef_omnibus_url: https://www.getchef.com/chef/install.sh
data_bags_path:
'test/data_bags'
encrypted_data_bag_secret_key_path:
'test/encrypted_data_bag_secret'
platforms:
- name: ubuntu-12.04
run_list: &default_run_list
- recipe[apt::default]
- recipe[build-essential::default]
attributes: &default_attributes
mysql:
bind_address: 'localhost'
server_debian_password: 'password'
server_repl_password: 'password'
server_root_password: 'password'
tunable:
lower_case_table_names: 1
nginx:
default_site_enabled: false
install_method: 'source'
suites:
- name: user
driver_config:
box: <%= ENV['KITCHEN_BASE_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::user]
- name: webserver
driver_config:
box: <%= ENV['KITCHEN_RUBY_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::webserver]
- name: vhost
driver_config:
box: <%= ENV['KITCHEN_RUBY_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::vhost]
attributes:
pushit_test_vhost_cert: dummy
- name: custom_vhost
driver_config:
box: <%= ENV['KITCHEN_RUBY_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::custom_vhost]
- name: database
driver_config:
box: <%= ENV['KITCHEN_RUBY_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::database]
- name: nodejs
driver_config:
box: <%= ENV['KITCHEN_BASE_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::nodejs]
- name: rubies
driver_config:
box: <%= ENV['KITCHEN_NODE_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::ruby]
# verifier:
# name: shell
# command: rspec -c -f d -I serverspec test/integration/rubies/serverspec/ruby_spec.rb
- name: rails
driver_config:
box: <%= ENV['KITCHEN_RUBY_BOX'] || opscode-ubuntu-12.04 %>
run_list:
- recipe[pushit_test::rails]