software.cfg 5.96 KB
Newer Older
1 2
[buildout]

3 4 5 6 7
extends =
  ../../component/git/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/libxml2/buildout.cfg
  ../../component/libxslt/buildout.cfg
8
  ../../component/bcrypt/buildout.cfg
9
  ../../component/zlib/buildout.cfg
10
  ../../component/phantomjs/buildout.cfg
11
  ../../component/pycurl/buildout.cfg
12
  ../../component/coreutils/buildout.cfg
13
  ../../component/socat/buildout.cfg
14
  ../../component/lmsensors/buildout.cfg
15
  ../../component/rsync/buildout.cfg
16
  ../../stack/slapos.cfg
17
  ../../stack/nxdtest.cfg
18
  ./buildout.hash.cfg
19

20
parts =
21
  bootstrap-slapos.recipe.cmmi
22
  eggs/scripts
23
  phantomjs
24
  template
25

26 27 28 29 30 31 32 33 34 35 36 37 38 39
[bootstrap-slapos.recipe.cmmi]
# install our develop version of slapos.recipe.cmmi before anything else,
# otherwise it will be installed from pypi by dependencies.
recipe = zc.recipe.egg
eggs = ${slapos.recipe.cmmi-setup:egg}

[setup-develop-egg]
recipe = zc.recipe.egg:develop

[caucase-setup]
<= setup-develop-egg
egg = caucase
setup = ${caucase-repository:location}

40 41 42 43
[kedifa-setup]
<= setup-develop-egg
egg = kedifa
setup = ${kedifa-repository:location}
44
depends = ${caucase-setup:egg}
45

46 47 48 49 50
[slapos.libnetworkcache-setup]
<= setup-develop-egg
egg = slapos.libnetworkcache
setup = ${slapos.libnetworkcache-repository:location}

51 52 53 54 55 56 57 58 59
[erp5.util-setup]
<= setup-develop-egg
# XXX erp5.util does not have `test` extra require, but has a `testnode` extra require with same dependencies
egg = erp5.util[testnode]
setup = ${erp5.util-repository:location}
depends = ${slapos.core-setup:egg}

[slapos.cookbook-setup]
<= setup-develop-egg
60
egg = slapos.cookbook[test]
61
setup = ${slapos.cookbook-repository:location}
62 63 64
depends =
  ${slapos.core-setup:egg}
  ${slapos-cookbook-dependencies:eggs}
65 66 67

[slapos.core-setup]
<= setup-develop-egg
68
egg = slapos.core[test]
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
setup = ${slapos.core-repository:location}

[slapos.recipe.build-setup]
<= setup-develop-egg
egg = slapos.recipe.build[test]
setup = ${slapos.recipe.build-repository:location}

[slapos.recipe.cmmi-setup]
<= setup-develop-egg
egg = slapos.recipe.cmmi[test]
setup = ${slapos.recipe.cmmi-repository:location}
depends = ${slapos.recipe.build-setup:egg}

[slapos.recipe.template-setup]
<= setup-develop-egg
# XXX slapos.recipe.template does not have `test` extra require, `zope.testing` is only listed in `tests_require` and is listed explicitly
egg = slapos.recipe.template
setup = ${slapos.recipe.template-repository:location}

[slapos.toolbox-setup]
<= setup-develop-egg
90
egg = slapos.toolbox[test]
91
setup = ${slapos.toolbox-repository:location}
92 93 94
depends =
  ${slapos.core-setup:egg}
  ${slapos-toolbox-dependencies:eggs}
95

96 97 98 99
[slapos.rebootstrap-setup]
<= setup-develop-egg
egg = slapos.rebootstrap[test]
setup = ${slapos.rebootstrap-repository:location}
100

101 102
[rubygemsrecipe-setup]
<= setup-develop-egg
103
egg = rubygemsrecipe[test]
104 105
setup = ${rubygemsrecipe-repository:location}

106
[eggs]
107 108
<= python-interpreter
eggs +=
109
  ${lxml-python:egg}
110
  ${python-cryptography:egg}
111
  ${backports.lzma:egg}
112
  ${pycurl:egg}
113
  ${bcrypt:egg}
114
  dnspython
115
  Jinja2
116
  ${kedifa-setup:egg}
117 118 119 120 121 122 123 124
  ${caucase-setup:egg}
  ${erp5.util-setup:egg}
  ${slapos.cookbook-setup:egg}
  ${slapos.core-setup:egg}
  ${slapos.recipe.build-setup:egg}
  ${slapos.recipe.cmmi-setup:egg}
  ${slapos.recipe.template-setup:egg}
  ${slapos.toolbox-setup:egg}
125
  ${slapos.libnetworkcache-setup:egg}
126
  ${slapos.rebootstrap-setup:egg}
127
  ${rubygemsrecipe-setup:egg}
128
  zope.testing
129
  supervisor
130 131 132 133

[eggs/scripts]
recipe = zc.recipe.egg
eggs = ${eggs:eggs}
134
scripts =
135 136
  slapos
  supervisord
137

138
[git-clone-repository]
139 140 141
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
forbid-download-cache = true
142
branch = master
Rafael Monnerat's avatar
Rafael Monnerat committed
143

144 145 146 147
[kedifa-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/kedifa.git

148 149 150 151
[caucase-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/caucase.git

152 153 154 155
[erp5.util-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/erp5.git

156 157
[slapos.cookbook-repository]
<= git-clone-repository
158
repository = https://lab.nexedi.com/nexedi/slapos.git
159

Rafael Monnerat's avatar
Rafael Monnerat committed
160
[slapos.core-repository]
161
<= git-clone-repository
162
repository = https://lab.nexedi.com/nexedi/slapos.core.git
Rafael Monnerat's avatar
Rafael Monnerat committed
163 164

[slapos.recipe.template-repository]
165
<= git-clone-repository
166
repository = https://lab.nexedi.com/nexedi/slapos.recipe.template.git
167

168 169 170 171
[slapos.libnetworkcache-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.libnetworkcache.git

172
[slapos.recipe.build-repository]
173
<= git-clone-repository
174
repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
175 176 177
# We use the system git and not slapos provided one, because
# slapos.recipe.build is a dependency of slapos.recipe.cmmi
#git-executable = git
178 179 180

[slapos.recipe.cmmi-repository]
<= git-clone-repository
181
repository = https://lab.nexedi.com/nexedi/slapos.recipe.cmmi.git
182 183 184 185
# We use the system git and not slapos provided one, because slapos git needs
# slapos.recipe.cmmi to be installed. This circular dependency cause parts to
# be reinstalled everytime buildout is run because signatures are not stable.
#git-executable = git
186

187 188 189 190
[slapos.toolbox-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.toolbox.git

191 192 193
[slapos.rebootstrap-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.rebootstrap.git
194

195 196 197 198
[rubygemsrecipe-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/rubygemsrecipe.git

199
[template]
Rafael Monnerat's avatar
Rafael Monnerat committed
200
recipe = slapos.recipe.template
201 202
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template.cfg
203
mode = 640
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
204 205

[versions]
206 207 208 209
# clear version pins of tested eggs for which we want to generate scripts
# otherwise, the scripts will be generated for the pinned version.
slapos.core =
erp5.util =
210 211

# All depencies should be pinned.
212
Pygments = 2.1.3
213
slapos.recipe.template = 4.4
214
zc.lockfile = 1.4
215 216 217 218 219 220
bcrypt = 3.1.4
dnspython = 1.15.0
funcsigs = 1.0.2
httmock = 1.2.6
manuel = 1.9.0
mock = 2.0.0
221
testfixtures = 6.11.0
222 223 224 225
pem = 18.1.0
pycurl = 7.43.0.2
pyflakes = 2.0.0
zope.testing = 4.6.2
226
urllib3 = 1.24.1
227
pathlib = 1.0.1
Julien Muchembled's avatar
Julien Muchembled committed
228 229 230
# Required by:
# caucase
PyJWT = 1.6.4