NEO repository has moved to lab.nexedi.com
[slapos.git] / software / neoppod / software-common.cfg
1 # Note on LXML/END LXML: they delimit areas where lxml magic is needed. lxml is
2 # a slapos.cookbook dependency, so it should be fetched automatically. But when
3 # automatically fetched, it gets built against system headers/libs, which is
4 # forbidden in slapos. So we need to fetch lxml explicitly so it is properly
5 # built.
6
7 [buildout]
8 extends =
9     ../../stack/slapos.cfg
10     ../../component/dcron/buildout.cfg
11     ../../component/gzip/buildout.cfg
12     ../../component/logrotate/buildout.cfg
13 #LXML
14     ../../component/lxml-python/buildout.cfg
15 #END LXML
16     ../../component/mysql-python/buildout.cfg
17     ../../component/pycrypto-python/buildout.cfg
18
19 parts =
20 # keep neoppod first so that ZODB3 is built correctly,
21 # before any other section that would depend on it
22     neoppod-develop
23     neoppod
24     slapos-deps-eggs
25     slapos-cookbook-develop
26     slapos-cookbook
27
28 [neoppod-repository]
29 recipe = slapos.recipe.build:gitclone
30 repository = https://lab.nexedi.com/nexedi/neoppod.git
31 git-executable = ${git:location}/bin/git
32
33 [neoppod-develop]
34 recipe = zc.recipe.egg:develop
35 setup = ${neoppod-repository:location}
36
37 [neoppod]
38 recipe = zc.recipe.egg
39 eggs = neoppod[admin, ctl, master, storage-importer, storage-mysqldb]
40   ${mysql-python:egg}
41   ZODB3
42 ZODB3-patches =
43   ${:_profile_base_location_}/../../component/egg-patch/ZODB3-3.10.5.patch#c5fe331b1e3a930446f93ab4f6e97c6e
44 ZODB3-patch-options = -p1
45
46 [slapos-deps-eggs]
47 recipe = zc.recipe.egg
48 eggs =
49   ${lxml-python:egg}
50   ${python-PyYAML:egg}
51   ${pycrypto-python:egg}
52   ${python-cliff:egg}
53   slapos.toolbox
54 scripts =
55   slapos-kill
56
57 [template-logrotate-base]
58 recipe = slapos.recipe.template:jinja2
59 template = ${:_profile_base_location_}/${:filename}.in
60 rendered = ${buildout:directory}/${:filename}
61 filename = instance-logrotate-base.cfg
62 md5sum = af19ff0c7817df85987c69738fb083f2
63 context =
64     key dcron_location dcron:location
65     key gzip_location gzip:location
66     key logrotate_location logrotate:location
67
68 [download-base-neo]
69 recipe = slapos.recipe.build:download
70 url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
71 # XXX: following mode should be the default
72 mode = 644
73
74 # XXX: must be rendered, not just dled
75 [instance-common]
76 recipe = slapos.recipe.template:jinja2
77 template = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
78 rendered = ${buildout:directory}/${:_buildout_section_name_}.cfg
79 md5sum = e8f5a83580e9791a32c66f5935cb6840
80 context =
81     key bin_directory buildout:bin-directory
82     key develop_eggs_directory buildout:develop-eggs-directory
83     key eggs_directory buildout:eggs-directory
84     key mariadb_location mariadb:location
85     key neo_admin instance-neo-admin:target
86     key neo_master instance-neo-master:target
87     key neo_storage_mysql instance-neo-storage-mysql:target
88     key template_logrotate_base template-logrotate-base:rendered
89     key template_neo_my_cnf template-neo-my-cnf:target
90
91 [root-common]
92 <= download-base-neo
93 md5sum = f3259726bd5d824c569dc7db6b7d26a0
94
95 [instance-neo-admin]
96 <= download-base-neo
97 md5sum = f030a25d320f2edf0186b69bfa521228
98
99 [instance-neo-master]
100 <= download-base-neo
101 md5sum = 82f3f76f54ee9db355966a7ada61f56e
102
103 [instance-neo-storage-mysql]
104 <= download-base-neo
105 md5sum = 84b1150ce30ec827485f9c17debd6b44
106
107 [template-neo-my-cnf]
108 <= download-base-neo
109 url = ${:_profile_base_location_}/my.cnf.in
110 md5sum = febd3ed58043ce1367b86cf6e4e69700
111
112 [versions]
113 MySQL-python = 1.2.5
114 slapos.recipe.template = 2.8
115 # patched egg
116 ZODB3 = 3.10.5+SlapOSPatched001
117 # Required by slapos.toolbox==0.52
118 slapos.toolbox = 0.52
119 apache-libcloud = 0.20.0
120 atomize = 0.2.0
121 ecdsa = 0.13
122 feedparser = 5.2.1
123 GitPython = 1.0.1
124 gitdb = 0.6.4
125 lockfile = 0.10.2
126 paramiko = 1.16.0
127 pycrypto = 2.6.1
128 rpdb = 0.1.5
129 smmap = 0.9.0
130 ##