software-common.cfg 3.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Note on LXML/END LXML: they delimit areas where lxml magic is needed. lxml is
# a slapos.cookbook dependency, so it should be fetched automatically. But when
# automatically fetched, it gets built against system headers/libs, which is
# forbidden in slapos. So we need to fetch lxml explicitly so it is properly
# built.

[buildout]
extends =
    ../../stack/slapos.cfg
    ../../component/dcron/buildout.cfg
    ../../component/gzip/buildout.cfg
    ../../component/logrotate/buildout.cfg
#LXML
    ../../component/lxml-python/buildout.cfg
#END LXML
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
16
    ../../component/patch/buildout.cfg
17
    ../../component/python-mysqlclient/buildout.cfg
18
    ../../component/python-cryptography/buildout.cfg
19 20

parts =
21 22
# keep neoppod first so that ZODB3 is built correctly,
# before any other section that would depend on it
23
    neoppod-develop
24
    neoppod
25 26 27 28
    slapos-deps-eggs
    slapos-cookbook-develop
    slapos-cookbook

29 30
[neoppod-repository]
recipe = slapos.recipe.build:gitclone
31
repository = https://lab.nexedi.com/nexedi/neoppod.git
32 33 34 35 36 37 38 39
git-executable = ${git:location}/bin/git

[neoppod-develop]
recipe = zc.recipe.egg:develop
setup = ${neoppod-repository:location}

[neoppod]
recipe = zc.recipe.egg
40
eggs = neoppod[admin, ctl, master, storage-importer, storage-mysqldb, tests]
41
  ${python-mysqlclient:egg}
42
  ZODB3
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
43
patch-binary = ${patch:location}/bin/patch
44
ZODB3-patches =
45
  ${:_profile_base_location_}/../../component/egg-patch/ZODB3-3.10.5.patch#c5fe331b1e3a930446f93ab4f6e97c6e
46 47
ZODB3-patch-options = -p1

48 49 50 51
[slapos-deps-eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
52
  ${python-PyYAML:egg}
53
  ${python-cryptography:egg}
54
  ${python-cliff:egg}
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
  slapos.toolbox
scripts =
  slapos-kill

[template-logrotate-base]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${buildout:directory}/${:filename}
filename = instance-logrotate-base.cfg
md5sum = af19ff0c7817df85987c69738fb083f2
context =
    key dcron_location dcron:location
    key gzip_location gzip:location
    key logrotate_location logrotate:location

[download-base-neo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
# XXX: following mode should be the default
mode = 644

# XXX: must be rendered, not just dled
[instance-common]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
rendered = ${buildout:directory}/${:_buildout_section_name_}.cfg
md5sum = e8f5a83580e9791a32c66f5935cb6840
context =
    key bin_directory buildout:bin-directory
    key develop_eggs_directory buildout:develop-eggs-directory
    key eggs_directory buildout:eggs-directory
    key mariadb_location mariadb:location
    key neo_admin instance-neo-admin:target
    key neo_master instance-neo-master:target
    key neo_storage_mysql instance-neo-storage-mysql:target
    key template_logrotate_base template-logrotate-base:rendered
    key template_neo_my_cnf template-neo-my-cnf:target

[root-common]
<= download-base-neo
95
md5sum = f3259726bd5d824c569dc7db6b7d26a0
96 97 98

[instance-neo-admin]
<= download-base-neo
99
md5sum = f030a25d320f2edf0186b69bfa521228
100 101 102

[instance-neo-master]
<= download-base-neo
103
md5sum = 82f3f76f54ee9db355966a7ada61f56e
104 105 106

[instance-neo-storage-mysql]
<= download-base-neo
107
md5sum = 4572f8d3f92f1b1639600d0eb7119ab5
108 109 110 111 112 113 114

[template-neo-my-cnf]
<= download-base-neo
url = ${:_profile_base_location_}/my.cnf.in
md5sum = febd3ed58043ce1367b86cf6e4e69700

[versions]
115
slapos.recipe.template = 2.9
116
# patched egg
117
ZODB3 = 3.10.5+SlapOSPatched001
118 119
# Required by slapos.toolbox==0.55
slapos.toolbox = 0.55
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
120
apache-libcloud = 0.20.1
121 122 123
atomize = 0.2.0
ecdsa = 0.13
feedparser = 5.2.1
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
124
GitPython = 2.0.2
125
gitdb = 0.6.4
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
126
lockfile = 0.12.2
127
mysqlclient = 1.3.7
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
128
paramiko = 2.0.0
129 130
pycrypto = 2.6.1
smmap = 0.9.0