common.cfg 5.93 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 9
  ../../component/dropbear/buildout.cfg
  ../../component/git/buildout.cfg
Jérome Perrin's avatar
Jérome Perrin committed
10
  ../../component/tig/buildout.cfg
11
  ../../component/logrotate/buildout.cfg
12
  ../../component/lxml-python/buildout.cfg
13
  ../../component/nano/buildout.cfg
14
  ../../component/nginx/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 37
# XXX: we have to manually add this for resilience
  rdiff-backup
  collective.recipe.template-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 = 66dba3331f49492d317e9c14d68d1bcb
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 = d7f88b58b2508ce5af42ea7d7241626e
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 = 673c30e5e7f9b7bb543f79465a56e43d
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 = 9dc934fe5015ff53869830a833266192
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 = 4b0ab39bc655ae0b865207147cb2e5bf
90 91
mode = 0644

92
[template-resilient]
93
recipe = slapos.recipe.build:download
94
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
95
md5sum = bf853ab13b564be991b42e74f631023a
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 = fb8c45e5c35548331fb06c4633ec592a
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 = e6c2e1dd2153afefa0805c4065066e4e
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 = 505edf5a6a39edf0238bd42934503f1b
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 = f406b91c5b0261b198a1c1930c195071
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}
Jérome Perrin's avatar
Jérome Perrin committed
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
[eggs]
195
recipe = zc.recipe.egg
196
eggs =
Nicolas Wavrant's avatar
Nicolas Wavrant committed
197
  collective.recipe.environment
198
  collective.recipe.template
199
  cns.recipe.symlink
200
  erp5.util
201
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
202 203
  plone.recipe.command
  slapos.recipe.build
204
  slapos.toolbox[flask_auth]
205
  Gunicorn
206
  ${slapos-cookbook:eggs}
207 208 209 210

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
211
eggs +=
212
  supervisor