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 = 69aa7e6af335d3fb3ad8fc4c90fafe7a
58 59
mode = 0644

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

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

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

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

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

97
[template-resilient-test]
98
recipe = hexagonit.recipe.download
99
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
100
download-only = true
101
md5sum = fb8c45e5c35548331fb06c4633ec592a
102 103 104
filename = instance-resilient-test.cfg.jinja2
mode = 0644

105
[template_nginx_conf]
106
recipe = hexagonit.recipe.download
107
url = ${:_profile_base_location_}/nginx_conf.in
108
download-only = true
109
md5sum = 5bbe62827d232b3bbac3d5eb03e2d648
110 111 112
filename = nginx_conf.in
mode = 0644

113 114 115 116
[template_httpd_conf]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
117
md5sum = b5d095f54f714d17dff12c0c5fe4afb7
118 119 120
filename = httpd_conf.in
mode = 0644

121
[template_launcher]
122
recipe = slapos.recipe.build:download
123
url = ${:_profile_base_location_}/launcher.in
124
md5sum = 525e37ea8b2acf6209869999b15071a6
125 126 127 128
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

129
[template-slapos-cfg]
130 131
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
132
md5sum = f406b91c5b0261b198a1c1930c195071
133
location = ${buildout:parts-directory}/${:_buildout_section_name_}
134
filename = slapos.cfg.in
135 136 137
download-only = true
mode = 0644

138
[template-parameters]
139 140
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
141
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
142
location = ${buildout:parts-directory}/${:_buildout_section_name_}
143
filename = parameters.xml.in
144 145 146
download-only = true
mode = 0644

147 148 149
[template-bash-profile]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
Jérome Perrin's avatar
Jérome Perrin committed
150
md5sum = 1c88cbca0c1e705eeb4b544ef4616097
151 152 153 154 155
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = bash_profile.in
download-only = true
mode = 0644

156 157 158
[template-supervisord]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
159
md5sum = d294d0dafd265048399de6da8c96345f
160 161 162 163 164
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = supervisord.conf.in
download-only = true
mode = 0644

165 166 167
[template-listener-slapgrid]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
168
md5sum = 49d50410cf7467175a841eb7cd0d93d4
169 170 171 172 173
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = listener_slapgrid.py.in
download-only = true
mode = 0644

174 175 176 177 178 179 180 181 182
[cors-domain-cgi]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
md5sum = 4c44d617d5bfd1db8695200e896480c0
destination = ${buildout:parts-directory}/monitor-template-cors-domain-cgi
filename = cors-domain.jinja
mode = 0644

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

192
[eggs]
193
recipe = zc.recipe.egg
194
eggs =
Nicolas Wavrant's avatar
Nicolas Wavrant committed
195
  collective.recipe.environment
196
  cns.recipe.symlink
197
  erp5.util
198
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
199 200
  plone.recipe.command
  slapos.recipe.build
201
  slapos.toolbox[flask_auth]
202
  Gunicorn
203
  ${slapos-cookbook:eggs}
204 205 206 207

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
208
eggs +=
209
  supervisor