common.cfg 6.21 KB
Newer Older
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

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
39 40 41
parts =
  ${:common-parts}

42 43 44 45
# Use shellinabox from github with AF_UNIX support
[shellinabox]
<= shellinabox-github

46 47 48 49
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
50
md5sum = bb7e0bf9959c4437ff1e23e645315ccf
51 52 53 54 55
mode = 0644

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
56
output = ${buildout:directory}/template-runner.cfg.in
57
md5sum = 26a58e69c4c59d30c9e2f50075cdc679
58 59
mode = 0644

60 61
[template-runner-import-script]
recipe = hexagonit.recipe.download
62
ignore-existing = true
63 64
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
65
md5sum = d3ce78b35cb47dcb647772891a1bf814
66 67 68
filename = runner-import.sh.jinja2
mode = 0644

69 70 71 72
[instance-runner-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
73
md5sum = 5234b94f24d57d43e3cd29ccabb2b119
74 75
mode = 0644

76 77
[template-runner-export-script]
recipe = hexagonit.recipe.download
78
ignore-existing = true
79 80
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
download-only = true
81
md5sum = d89161fba1dce0de6f4ebbc7eb396ccb
82 83 84
filename = runner-export.sh.jinja2
mode = 0644

85 86 87 88
[instance-runner-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
output = ${buildout:directory}/instance-runner-export.cfg
89
md5sum = a898117fe5b001747ef6a273fd03b42c
90 91
mode = 0644

92
[template-resilient]
93
recipe = slapos.recipe.build:download
94
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
95
md5sum = a902b84ac7d1e29a7fdb06cbc7dec150
96 97 98
filename = instance-resilient.cfg.jinja2
mode = 0644

99
[template-resilient-test]
100
recipe = hexagonit.recipe.download
101
ignore-existing = true
102
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
103
download-only = true
104
md5sum = c31de887459dfb45fe1213f2837cadcb
105 106 107
filename = instance-resilient-test.cfg.jinja2
mode = 0644

108
[template_nginx_conf]
109
recipe = hexagonit.recipe.download
110
ignore-existing = true
111
url = ${:_profile_base_location_}/nginx_conf.in
112
download-only = true
113
md5sum = 2b06f7eb9a1d45d250d4b92a944db925
114 115 116
filename = nginx_conf.in
mode = 0644

117 118
[template_httpd_conf]
recipe = hexagonit.recipe.download
119
ignore-existing = true
120 121
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
122
md5sum = 2e8440fa4b589be649a72108faec7745
123 124 125
filename = httpd_conf.in
mode = 0644

126
[template_launcher]
127
recipe = slapos.recipe.build:download
128
url = ${:_profile_base_location_}/launcher.in
129
md5sum = 525e37ea8b2acf6209869999b15071a6
130 131 132 133
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

134
[template-slapos-cfg]
135
recipe = hexagonit.recipe.download
136
ignore-existing = true
137
url = ${:_profile_base_location_}/template/${:filename}
138
md5sum = ef16446d432e1397182b1654fe920ffb
139
location = ${buildout:parts-directory}/${:_buildout_section_name_}
140
filename = slapos.cfg.in
141 142 143
download-only = true
mode = 0644

144
[template-parameters]
145
recipe = hexagonit.recipe.download
146
ignore-existing = true
147
url = ${:_profile_base_location_}/${:filename}
148
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
149
location = ${buildout:parts-directory}/${:_buildout_section_name_}
150
filename = parameters.xml.in
151 152 153
download-only = true
mode = 0644

154 155
[template-bash-profile]
recipe = hexagonit.recipe.download
156
ignore-existing = true
157
url = ${:_profile_base_location_}/template/${:filename}
158
md5sum = 1c88cbca0c1e705eeb4b544ef4616097
159 160 161 162 163
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = bash_profile.in
download-only = true
mode = 0644

164 165
[template-supervisord]
recipe = hexagonit.recipe.download
166
ignore-existing = true
167
url = ${:_profile_base_location_}/template/${:filename}
168
md5sum = d294d0dafd265048399de6da8c96345f
169 170 171 172 173
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = supervisord.conf.in
download-only = true
mode = 0644

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

184 185
[monitor-check-webrunner-internal-instance]
recipe = hexagonit.recipe.download
186
ignore-existing = true
187 188 189 190 191 192 193
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

194 195 196 197 198 199 200 201 202
[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

203
[eggs]
204
recipe = zc.recipe.egg
205
eggs =
206
  collective.recipe.environment
207
  collective.recipe.template
208
  cns.recipe.symlink
209
  erp5.util
210
  lock-file
211 212
  plone.recipe.command
  slapos.recipe.build
213
  slapos.toolbox[flask_auth]
214
  Gunicorn
215
  futures
216
  ${slapos-cookbook:eggs}
217 218 219 220

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
221
eggs +=
222
  supervisor