slaprunner: users can clone git repos from runner
[slapos.git] / software / slaprunner / common.cfg
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/dropbear/buildout.cfg
9   ../../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/flask.cfg
20   ../../stack/shacache-client.cfg
21   ../../stack/resilient/buildout.cfg
22   ../../stack/monitor/buildout.cfg
23   ../../stack/slapos.cfg
24
25 parts =
26   template
27   eggs
28   instance-runner-import
29   instance-runner-export
30   slapos-cookbook
31   slapos-cfg-template 
32 # XXX: we have to manually add this for resilience
33   rdiff-backup
34   collective.recipe.template-egg
35
36
37
38 [template]
39 recipe = slapos.recipe.template
40 url = ${:_profile_base_location_}/instance.cfg
41 output = ${buildout:directory}/template.cfg
42 md5sum = 8a47421ac6158b4ee476acab212c67d9
43 mode = 0644
44
45 [template-runner]
46 recipe = slapos.recipe.template
47 url = ${:_profile_base_location_}/instance-runner.cfg
48 output = ${buildout:directory}/template-runner.cfg.in
49 #md5sum = b3288126400c4ca8469c255ef130dec9
50 mode = 0644
51
52 [instance-runner-import]
53 recipe = slapos.recipe.template
54 url = ${:_profile_base_location_}/instance-runner-import.cfg.in
55 output = ${buildout:directory}/instance-runner-import.cfg
56 md5sum = 82f2d0be111617eac9849cb7b8baac5d
57 mode = 0644
58
59 [instance-runner-export]
60 recipe = slapos.recipe.template
61 url = ${:_profile_base_location_}/instance-runner-export.cfg.in
62 output = ${buildout:directory}/instance-runner-export.cfg
63 md5sum = 9a8cdf65bca8a562accb710a7c3b6595
64 mode = 0644
65
66 [template-resilient]
67 recipe = slapos.recipe.download
68 url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
69 md5sum = f8758a5a2f886d649ad02157d76550ba
70 filename = instance-resilient.cfg.jinja2
71 mode = 0644
72
73 [template-resilient-test]
74 recipe = hexagonit.recipe.download
75 url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
76 download-only = true
77 md5sum = b231383bb63edc0009fb6e0ff5c54d8e
78 filename = instance-resilient-test.cfg.jinja2
79 mode = 0644
80
81 [template_nginx_conf]
82 recipe = hexagonit.recipe.download
83 url = ${:_profile_base_location_}/nginx_conf.in
84 download-only = true
85 md5sum = 67d2ce92b4ad6dca6eaf69eeb2c2734c
86 filename = nginx_conf.in
87 mode = 0644
88
89 [template_httpd_conf]
90 recipe = hexagonit.recipe.download
91 url = ${:_profile_base_location_}/httpd_conf.in
92 download-only = true
93 #md5sum = 67d2ce92b4ad6dca6eaf69eeb2c2734c
94 filename = httpd_conf.in
95 mode = 0644
96
97 [template_launcher]
98 recipe = slapos.recipe.download
99 url = ${:_profile_base_location_}/launcher.in
100 md5sum = c7f8b6e9ae84aa94686a9cbaaa3dd693
101 filename = launcher.in
102 mode = 0644
103 location = ${buildout:parts-directory}/${:_buildout_section_name_}
104
105 [slapos-cfg-template]
106 recipe = hexagonit.recipe.download
107 url = ${:_profile_base_location_}/template/${:filename}
108 #md5sum = 8207e74c7b97a4a3f3be390ea4f97ae1
109 location = ${buildout:parts-directory}/${:_buildout_section_name_}
110 filename = slapos.cfg.in 
111 download-only = true
112 mode = 0644
113
114 [eggs]
115 recipe = z3c.recipe.scripts
116 eggs =
117   ${lxml-python:egg}
118   collective.recipe.environment
119   cns.recipe.symlink
120   erp5.util
121   hexagonit.recipe.download
122   inotifyx
123   lock-file
124   netaddr
125   plone.recipe.command
126   pytz
127   slapos.cookbook
128   slapos.libnetworkcache
129   slapos.recipe.build
130   slapos.toolbox[flask_auth]
131   slapos.core
132   xml_marshaller
133   Gunicorn
134
135 # Add slapos.libnetworkcache to path of slapos.core so that slaprunner can build SRs using cache
136 [slapos-cookbook]
137 eggs =
138   ${lxml-python:egg}
139   slapos.cookbook
140   cliff
141   hexagonit.recipe.download
142   inotifyx
143   netaddr
144   netifaces
145   requests
146   slapos.core
147   supervisor
148   xml_marshaller
149   pytz
150   slapos.libnetworkcache