common.cfg 6.34 KB
Newer Older
Nicolas Wavrant's avatar
Nicolas Wavrant committed
1
[buildout]
2
extends =
3
  ../../component/bash/buildout.cfg
4
  ../../component/busybox/buildout.cfg
5
  ../../component/curl/buildout.cfg
6
  ../../component/dash/buildout.cfg
7
  ../../component/dcron/buildout.cfg
8
  ../../component/git/buildout.cfg
Jérome Perrin's avatar
Jérome Perrin committed
9
  ../../component/tig/buildout.cfg
10
  ../../component/logrotate/buildout.cfg
11
  ../../component/lxml-python/buildout.cfg
12
  ../../component/nano/buildout.cfg
13
  ../../component/nginx/buildout.cfg
14
  ../../component/openssh/buildout.cfg
15
  ../../component/rsync/buildout.cfg
16
  ../../component/python-2.7/buildout.cfg
17
  ../../component/screen/buildout.cfg
18
  ../../component/shellinabox/buildout.cfg
19
  ../../component/vim/buildout.cfg
20
  ../../component/zip/buildout.cfg
21
  ../../stack/slapos.cfg
22
  ../../stack/flask.cfg
23
  ../../stack/resilient/buildout.cfg
24
  ../../stack/monitor/buildout.cfg
25

26 27 28
# stacks are listed from most generic to most specific,
# to avoid versioning issues

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
29
common-parts =
30 31
  template
  eggs
32 33
  instance-runner-import
  instance-runner-export
34
  template-slapos-cfg
35 36
# XXX: we have to manually add this for resilience
  rdiff-backup
37
  pbs-recipe-egg
38

39 40 41 42 43
extensions -=
  buildout-versions

show-picked-versions = true

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
44 45 46
parts =
  ${:common-parts}

47 48 49 50
# Use shellinabox from github with AF_UNIX support
[shellinabox]
<= shellinabox-github

51 52 53 54
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
55
md5sum = bb7e0bf9959c4437ff1e23e645315ccf
56 57 58 59 60
mode = 0644

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
61
output = ${buildout:directory}/template-runner.cfg.in
62
md5sum = 71ce5a39bf61ae5f80a10c27b9c12761
63 64
mode = 0644

65 66
[template-runner-import-script]
recipe = hexagonit.recipe.download
67
ignore-existing = true
68 69
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
70
md5sum = d3ce78b35cb47dcb647772891a1bf814
71 72 73
filename = runner-import.sh.jinja2
mode = 0644

74 75 76 77
[instance-runner-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
78
md5sum = 5234b94f24d57d43e3cd29ccabb2b119
79 80
mode = 0644

81 82
[template-runner-export-script]
recipe = hexagonit.recipe.download
83
ignore-existing = true
84 85
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
download-only = true
86
md5sum = d89161fba1dce0de6f4ebbc7eb396ccb
87 88 89
filename = runner-export.sh.jinja2
mode = 0644

90 91 92 93
[instance-runner-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
output = ${buildout:directory}/instance-runner-export.cfg
94
md5sum = a898117fe5b001747ef6a273fd03b42c
95 96
mode = 0644

97
[template-resilient]
98
recipe = slapos.recipe.build:download
99
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
100
md5sum = a902b84ac7d1e29a7fdb06cbc7dec150
101 102 103
filename = instance-resilient.cfg.jinja2
mode = 0644

104
[template-resilient-test]
105
recipe = hexagonit.recipe.download
106
ignore-existing = true
107
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
108
download-only = true
109
md5sum = c31de887459dfb45fe1213f2837cadcb
110 111 112
filename = instance-resilient-test.cfg.jinja2
mode = 0644

113
[template_nginx_conf]
114
recipe = hexagonit.recipe.download
115
ignore-existing = true
116
url = ${:_profile_base_location_}/nginx_conf.in
117
download-only = true
118
md5sum = 2b06f7eb9a1d45d250d4b92a944db925
119 120 121
filename = nginx_conf.in
mode = 0644

122 123
[template_httpd_conf]
recipe = hexagonit.recipe.download
124
ignore-existing = true
125 126
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
127
md5sum = 2e8440fa4b589be649a72108faec7745
128 129 130
filename = httpd_conf.in
mode = 0644

131
[template_launcher]
132
recipe = slapos.recipe.build:download
133
url = ${:_profile_base_location_}/launcher.in
134
md5sum = 525e37ea8b2acf6209869999b15071a6
135 136 137 138
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

139
[template-slapos-cfg]
140
recipe = hexagonit.recipe.download
141
ignore-existing = true
142
url = ${:_profile_base_location_}/template/${:filename}
143
md5sum = ef16446d432e1397182b1654fe920ffb
144
location = ${buildout:parts-directory}/${:_buildout_section_name_}
145
filename = slapos.cfg.in
146 147 148
download-only = true
mode = 0644

149
[template-parameters]
150
recipe = hexagonit.recipe.download
151
ignore-existing = true
152
url = ${:_profile_base_location_}/${:filename}
153
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
154
location = ${buildout:parts-directory}/${:_buildout_section_name_}
155
filename = parameters.xml.in
156 157 158
download-only = true
mode = 0644

159 160
[template-bash-profile]
recipe = hexagonit.recipe.download
161
ignore-existing = true
162
url = ${:_profile_base_location_}/template/${:filename}
Jérome Perrin's avatar
Jérome Perrin committed
163
md5sum = 1c88cbca0c1e705eeb4b544ef4616097
164 165 166 167 168
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = bash_profile.in
download-only = true
mode = 0644

169 170
[template-supervisord]
recipe = hexagonit.recipe.download
171
ignore-existing = true
172
url = ${:_profile_base_location_}/template/${:filename}
173
md5sum = d294d0dafd265048399de6da8c96345f
174 175 176 177 178
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = supervisord.conf.in
download-only = true
mode = 0644

179 180
[template-listener-slapgrid]
recipe = hexagonit.recipe.download
181
ignore-existing = true
182
url = ${:_profile_base_location_}/template/${:filename}
183
md5sum = 49d50410cf7467175a841eb7cd0d93d4
184 185 186 187 188
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = listener_slapgrid.py.in
download-only = true
mode = 0644

189 190
[monitor-check-webrunner-internal-instance]
recipe = hexagonit.recipe.download
191
ignore-existing = true
192 193 194 195 196 197 198
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
#md5sum = 4c44d617d5bfd1db8695200e896480c0
destination = ${buildout:parts-directory}/${:filename}
filename = monitor-check-webrunner-internal-instances.py
mode = 0644

199 200 201 202 203 204 205 206 207
[template-resilient-software-release-information]
recipe = hexagonit.recipe.download
ignore-existing = true
download-only = true
md5sum = 922498a301ab3defe412602f626e02ec
url = ${:_profile_base_location_}/template/${:filename}
filename = resilient_software_release_information.py.in
mode = 0644

208
[eggs]
209
recipe = zc.recipe.egg
210
eggs =
Nicolas Wavrant's avatar
Nicolas Wavrant committed
211
  collective.recipe.environment
212
  collective.recipe.template
213
  cns.recipe.symlink
214
  erp5.util
215
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
216 217
  plone.recipe.command
  slapos.recipe.build
218
  slapos.toolbox[flask_auth]
219
  Gunicorn
220
  futures
221
  ${slapos-cookbook:eggs}
222 223 224 225

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
226
eggs +=
227
  supervisor
228 229 230 231

[versions]
zc.buildout = 2.5.2+slapos002
zc.recipe.egg = 2.0.3+slapos001