common.cfg 5.74 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
10
  ../../component/logrotate/buildout.cfg
11
  ../../component/lxml-python/buildout.cfg
12
  ../../component/nano/buildout.cfg
13
  ../../component/nginx/buildout.cfg
14
  ../../component/rsync/buildout.cfg
15
  ../../component/python-2.7/buildout.cfg
16
  ../../component/screen/buildout.cfg
17
  ../../component/shellinabox/buildout.cfg
18
  ../../component/vim/buildout.cfg
19
  ../../stack/slapos.cfg
20
  ../../stack/flask.cfg
21
  ../../stack/resilient/buildout.cfg
22
  ../../stack/monitor/buildout.cfg
23

24 25 26
# stacks are listed from most generic to most specific,
# to avoid versioning issues

27 28 29
parts =
  template
  eggs
30 31
  instance-runner-import
  instance-runner-export
32
  template-slapos-cfg
33 34 35
# XXX: we have to manually add this for resilience
  rdiff-backup
  collective.recipe.template-egg
36

37 38 39 40
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
Nicolas Wavrant's avatar
Nicolas Wavrant committed
41
md5sum = 8a47421ac6158b4ee476acab212c67d9
42 43 44 45 46
mode = 0644

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
47
output = ${buildout:directory}/template-runner.cfg.in
48
md5sum = 3cac749e81d8b94dbbf1f1833bc031ce
49 50
mode = 0644

51 52 53 54
[template-runner-import-script]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
55
md5sum = 5c3395201fd9d3dd2a369476e5849723
56 57 58
filename = runner-import.sh.jinja2
mode = 0644

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

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

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

81 82 83
[template-resilient]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
84
md5sum = 489cfdbe128c21ff5847f92d804fe460
85 86 87
filename = instance-resilient.cfg.jinja2
mode = 0644

88
[template-resilient-test]
89
recipe = hexagonit.recipe.download
90
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
91
download-only = true
92
md5sum = b95b230bcdd7d4eaf9452f73156b27e8
93 94 95
filename = instance-resilient-test.cfg.jinja2
mode = 0644

96
[template_nginx_conf]
97
recipe = hexagonit.recipe.download
98
url = ${:_profile_base_location_}/nginx_conf.in
99
download-only = true
100
md5sum = 7c0608eafb5c6998846851744a70b3de
101 102 103
filename = nginx_conf.in
mode = 0644

104 105 106 107
[template_httpd_conf]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
108
md5sum = b5d095f54f714d17dff12c0c5fe4afb7
109 110 111
filename = httpd_conf.in
mode = 0644

112 113 114
[template_launcher]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/launcher.in
115
md5sum = 525e37ea8b2acf6209869999b15071a6
116 117 118 119
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

120
[template-slapos-cfg]
121 122
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
123
md5sum = e1af7397215fe72712d42e5d5e3120e8
124
location = ${buildout:parts-directory}/${:_buildout_section_name_}
125
filename = slapos.cfg.in
126 127 128
download-only = true
mode = 0644

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

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

147 148 149
[template-supervisord]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
150
md5sum = 239fe88e1522afe7686572dd34568720
151 152 153 154 155
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = supervisord.conf.in
download-only = true
mode = 0644

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

165 166 167 168 169 170 171 172 173
[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

174 175 176 177 178 179 180 181 182
[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

183 184 185
[eggs]
recipe = z3c.recipe.scripts
eggs =
Nicolas Wavrant's avatar
Nicolas Wavrant committed
186
  collective.recipe.environment
187
  cns.recipe.symlink
188
  erp5.util
189
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
190 191
  plone.recipe.command
  slapos.recipe.build
192
  slapos.toolbox[flask_auth]
193
  Gunicorn
194
  ${slapos-cookbook:eggs}
195 196 197 198

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
199
eggs +=
200
  supervisor