forked from TYPO3-cookbooks/gerrit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
83 lines (79 loc) · 2.09 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
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-6.4
- name: centos-6.5
- name: debian-7.4
run_list:
- recipe[apt::default]
- name: ubuntu-12.04
run_list:
- recipe[apt::default]
# - name: ubuntu-13.10
# # AH00526: Syntax error on line 11 of /etc/apache2/apache2.conf:
# # Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
# # Action 'configtest' failed.
# run_list:
# - recipe[apt::default]
suites:
- name: DB-H2
run_list:
- recipe[gerrit::default]
excludes: ["ubuntu-13.10"]
attributes:
gerrit:
database:
type: "H2"
- name: DB-MYSQL
run_list:
- recipe[gerrit::default]
excludes: ["ubuntu-12.04", "centos-6.4", "centos-6.5"]
attributes:
gerrit:
database:
type: MYSQL
mysql:
server_debian_password: "foo"
server_root_password: "foo"
server_repl_password: "foo"
- name: DB-POSTGRESQL
run_list:
- recipe[gerrit::default]
excludes:
- centos-6.4 # fails with: "Undefined method or attribute `action' on `node'" in build-essentials
- centos-6.5 # fails with: "Undefined method or attribute `action' on `node'" in build-essentials
- ubuntu-12.04 # works only at the 2nd "kitchen converge" try.. some apt-get update issue
attributes:
gerrit:
database:
type: POSTGRESQL
postgresql:
password:
postgres: "foo"
- name: VERSION-2.9
run_list:
- recipe[gerrit::default]
attributes:
gerrit:
version: 2.9-rc1
database:
type: "H2"
driver:
network:
# - ["private_network", { ip: "192.168.33.101" }]
# - ["forwarded_port", {guest: 80, host: 8082}]
- name: PROXY-NONE
run_list:
- recipe[gerrit::default]
attributes:
gerrit:
database:
type: H2
proxy: false
driver:
network:
# - ["private_network", { ip: "192.168.33.102" }]
# - ["forwarded_port", {guest: 8080, host: 8083}]