software.cfg 5.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
[buildout]

extends =
  ../../component/bcrypt/buildout.cfg
  ../../component/curl/buildout.cfg
  ../../component/git/buildout.cfg
  ../../component/pillow/buildout.cfg
  ../../component/python-cryptography/buildout.cfg
  ../../component/python-pynacl/buildout.cfg
  ../../component/quic_client-bin/buildout.cfg
11
  ../../component/python-backports-lzma/buildout.cfg
12 13 14 15 16 17 18

  ../../stack/slapos.cfg

  ./buildout.hash.cfg

parts =
  eggs
19
  slapos-cookbook
20 21 22 23 24
  template

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

25 26
[slapos.cookbook-setup]
<= setup-develop-egg
27
egg = slapos.cookbook[test]
28 29
setup = ${slapos-repository:location}/

30 31 32 33 34 35 36 37 38 39
[slapos.test.caddy-frontend-setup]
<= setup-develop-egg
egg = slapos.test.caddy-frontend
setup = ${slapos-repository:location}/software/caddy-frontend/test/

[slapos.test.erp5-setup]
<= setup-develop-egg
egg = slapos.test.erp5
setup = ${slapos-repository:location}/software/erp5/test/

40 41 42 43 44
[slapos.test.slapos-master-setup]
<= setup-develop-egg
egg = slapos.test.slapos-master
setup = ${slapos-repository:location}/software/slapos-master/test/

45 46 47 48 49 50 51 52 53 54 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
[slapos.test.kvm-setup]
<= setup-develop-egg
egg = slapos.test.kvm
setup = ${slapos-repository:location}/software/kvm/test/

[slapos.test.monitor-setup]
<= setup-develop-egg
egg = slapos.test.monitor
setup = ${slapos-repository:location}/software/monitor/test/

[slapos.test.plantuml-setup]
<= setup-develop-egg
egg = slapos.test.plantuml
setup = ${slapos-repository:location}/software/plantuml/test/

[slapos.test.powerdns-setup]
<= setup-develop-egg
egg = slapos.test.powerdns
setup = ${slapos-repository:location}/software/powerdns/test/

[slapos.test.proftpd-setup]
<= setup-develop-egg
egg = slapos.test.proftpd
setup = ${slapos-repository:location}/software/proftpd/test/

[slapos.test.re6stnet-setup]
<= setup-develop-egg
egg = slapos.test.re6stnet
setup = ${slapos-repository:location}/software/re6stnet/test/

[slapos.test.seleniumserver-setup]
<= setup-develop-egg
egg = slapos.test.seleniumserver
setup = ${slapos-repository:location}/software/seleniumserver/test/

[slapos.test.slaprunner-setup]
<= setup-develop-egg
egg = slapos.test.slaprunner
setup = ${slapos-repository:location}/software/slaprunner/test/

85 86 87 88 89
[slapos.test.helloworld-setup]
<= setup-develop-egg
egg = slapos.test.helloworld
setup = ${slapos-repository:location}/software/helloworld/test/

90 91 92 93 94
[slapos.test.jupyter-setup]
<= setup-develop-egg
egg = slapos.test.jupyter
setup = ${slapos-repository:location}/software/jupyter/test/

95 96 97 98 99
[slapos.test.nextcloud-setup]
<= setup-develop-egg
egg = slapos.test.nextcloud
setup = ${slapos-repository:location}/software/nextcloud/test/

100 101 102 103 104
[slapos.test.turnserver-setup]
<= setup-develop-egg
egg = slapos.test.nextcloud
setup = ${slapos-repository:location}/software/turnserver/test/

105 106 107 108 109
[slapos.test.theia-setup]
<= setup-develop-egg
egg = slapos.test.theia
setup = ${slapos-repository:location}/software/theia/test/

110 111
[slapos.core-repository]
<= git-clone-repository
112
repository = https://lab.nexedi.com/nexedi/slapos.core.git
113 114 115 116 117 118 119
branch = master

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

120 121 122
[eggs]
recipe = zc.recipe.egg
eggs =
123 124
  ${lxml-python:egg}
  ${slapos.core-setup:egg}
125
  ${pillow-python:egg}
126
  erp5.util
127 128 129
  ${python-pynacl:egg}
  ${python-cryptography:egg}
  ${bcrypt:egg}
130
  slapos.libnetworkcache
131
  supervisor
132
  ${slapos.cookbook-setup:egg}
133 134
  ${slapos.test.caddy-frontend-setup:egg}
  ${slapos.test.erp5-setup:egg}
135
  ${slapos.test.slapos-master-setup:egg}
136 137 138 139 140 141 142 143
  ${slapos.test.kvm-setup:egg}
  ${slapos.test.monitor-setup:egg}
  ${slapos.test.plantuml-setup:egg}
  ${slapos.test.powerdns-setup:egg}
  ${slapos.test.proftpd-setup:egg}
  ${slapos.test.re6stnet-setup:egg}
  ${slapos.test.seleniumserver-setup:egg}
  ${slapos.test.slaprunner-setup:egg}
144
  ${slapos.test.jupyter-setup:egg}
145
  ${slapos.test.nextcloud-setup:egg}
146
  ${slapos.test.turnserver-setup:egg}
147
  ${backports.lzma:egg}
148 149 150 151 152
entry-points =
  runTestSuite=erp5.util.testsuite:runTestSuite
scripts =
  runTestSuite
  slapos
153 154
  supervisorctl
  supervisord
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
interpreter=
  python_for_test

[git-clone-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
forbid-download-cache = true

[slapos-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.git
branch = master

[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template.cfg
mode = 640

[versions]
175 176
# slapos.core is used from the clone always
slapos.core =
177 178 179 180 181 182 183 184 185 186 187 188 189 190
# Various needed versions
Pillow = 5.3.0
PyNaCl = 1.3.0
bcrypt = 3.1.4
forcediphttpsadapter = 1.0.1
httplib2 = 0.11.3
image = 1.5.25
paramiko = 2.4.2
plantuml = 0.1.1
pysftp = 0.2.9
requests-toolbelt = 0.8.0
selenium = 3.141.0
slapos.recipe.template = 4.3

191 192 193 194 195 196 197 198 199 200 201 202 203 204
# modern versions for SSL fixed support
requests = 2.20.0
certifi = 2018.10.15
idna = 2.7
chardet = 3.0.4

# ipaddress is patching IPAddress so IPv6 match works
ipaddress = 1.0.22

# cacuase and its dependencies
caucase = 0.9.4
pem = 18.2.0
PyJWT = 1.6.4

205 206 207 208 209 210
# Django 1.11 is python 2 compatible
Django = 1.11

# Required by:
# selenium==3.141.0
urllib3 = 1.24.1
211 212

backports.lzma = 0.0.13
213 214 215

mock = 2.0.0
testfixtures = 6.11
216
funcsigs = 1.0.2