common.cfg 6.63 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/pycurl/buildout.cfg
17
  ../../component/python-2.7/buildout.cfg
18
  ../../component/screen/buildout.cfg
19
  ../../component/shellinabox/buildout.cfg
20
  ../../component/vim/buildout.cfg
21
  ../../component/zip/buildout.cfg
22
  ../../stack/slapos.cfg
23
  ../../stack/flask.cfg
24
  ../../stack/resilient/buildout.cfg
25
  ../../stack/monitor/buildout.cfg
26

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

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

40 41 42 43 44
extensions -=
  buildout-versions

show-picked-versions = true

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

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

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

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

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

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

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

91
[instance-runner-export]
92
recipe = slapos.recipe.build:download
93
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
94 95
filename = instance-runner-export.cfg.in
md5sum = 852a2ed99af566d27e5e4403334a3376
96 97
mode = 0644

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

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

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

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

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

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

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

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

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

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

190 191
[monitor-check-webrunner-internal-instance]
recipe = hexagonit.recipe.download
192
ignore-existing = true
193 194 195 196 197 198 199
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

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

209
[eggs]
210
recipe = zc.recipe.egg
211
eggs =
212
  ${pycurl:egg}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
213
  collective.recipe.environment
214
  collective.recipe.template
215
  cns.recipe.symlink
216
  erp5.util
217
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
218 219
  plone.recipe.command
  slapos.recipe.build
220
  slapos.toolbox[flask_auth]
221 222 223 224
# gunicorn downgraded because of bug in latter versions
# setting version here allows to use an older version in tests
# see more here : https://lab.nexedi.com/nexedi/slapos/commit/391b026e22b05e9a6fba5e063f64f18544a34b92
  gunicorn==19.4.5
225
  futures
226
  ${slapos-cookbook:eggs}
227 228 229 230

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
231
eggs +=
232
  supervisor
233 234

[versions]
235
setuptools = 28.8.0
236
zc.buildout = 2.5.2+slapos005
237
zc.recipe.egg = 2.0.3+slapos002