forked from jmccann/chef-drone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
142 lines (134 loc) · 3.6 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
---
driver:
name: vagrant
customize:
memory: 1024
require_chef_omnibus: true
verifier:
name: inspec
provisioner:
name: chef_zero
platforms:
- name: ubuntu-15.10
run_list:
- recipe[ubuntu::default]
- name: ubuntu-16.04
run_list:
- recipe[ubuntu::default]
- name: centos-7.2
run_list:
- recipe[yum-epel::default]
suites:
- name: drone-0.4
run_list:
- recipe[drone::default]
- recipe[drone::reverse_proxy]
attributes:
drone:
docker:
daemon:
log_level: debug
- name: drone-0.5
run_list:
- recipe[drone::default]
- recipe[drone::agent]
- recipe[drone::reverse_proxy]
attributes:
drone:
agent:
config:
I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION: true
I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS: true
drone_server: ws://10.0.2.15:8000/ws/broker
config:
I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION: true
I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS: true
DRONE_GITHUB: true
DRONE_GITHUB_CLIENT: GH_CLIENT
DRONE_GITHUB_SECRET: GH_SECRET
docker:
daemon:
log_level: debug
version: '0.5'
- name: drone-0.5-docker-1.12.6
run_list:
- recipe[drone::default]
- recipe[drone::agent]
- recipe[drone::reverse_proxy]
attributes:
drone:
agent:
config:
I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION: true
I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS: true
drone_server: ws://10.0.2.15:8000/ws/broker
config:
I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION: true
I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS: true
DRONE_GITHUB: true
DRONE_GITHUB_CLIENT: GH_CLIENT
DRONE_GITHUB_SECRET: GH_SECRET
docker:
daemon:
log_level: debug
version: '1.12.6'
version: '0.5'
- name: drone-custom
excludes:
- ubuntu-15.10
- centos-7.2
driver:
network:
- ["forwarded_port", {guest: 8080, host: 8080}]
- ["forwarded_port", {guest: 443, host: 9443}]
run_list:
- recipe[gogs::default]
- recipe[fake::gogs]
- recipe[drone::default]
- recipe[drone::agent]
- recipe[drone::reverse_proxy]
attributes:
drone:
agent:
config:
I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION: true
I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS: true
drone_server: http://10.0.2.15:8000
config:
drone_debug: true
drone_gogs: true
drone_gogs_url: http://10.0.2.15:8080
drone_open: true
I_UNDERSTAND_I_AM_USING_AN_UNSTABLE_VERSION: true
I_AGREE_TO_FIX_BUGS_AND_NOT_FILE_BUGS: true
docker:
daemon:
log_level: debug
repo: jmccann/drone
version: '0.5.1'
gogs:
version: '0.9.97'
# Useful for testing reverse proxy stuff
- name: gogs-setup
excludes:
- ubuntu-15.10
- centos-7.2
driver:
network:
- ["forwarded_port", {guest: 8080, host: 8080}]
- ["forwarded_port", {guest: 443, host: 9443}]
run_list:
- recipe[gogs::default]
- recipe[drone::default]
- recipe[drone::reverse_proxy]
attributes:
drone:
config:
remote_driver: gogs
remote_config: http://10.0.2.15:8080?open=true
disable_repo_activation: true
docker:
daemon:
log_level: debug
repo_activation_org_whitelist:
- test_org