WIP: slapos-sr-testing: Common testing for Software Releases
WIP: Commit of erp5.util is not from nexedi/master Since some software releases have unit tests, it is good idea to run the tests for each commit on slapos branch. This SR follow slapos-testing SR in a way how tests are grouped and run. Fixed erp5.util is used to expose good test suite names.
Showing
[buildout] | ||
extends = | ||
../../component/git/buildout.cfg | ||
../../component/curl/buildout.cfg | ||
../../component/python-cryptography/buildout.cfg | ||
../../component/quic_client-bin/buildout.cfg | ||
../../stack/slapos.cfg | ||
./buildout.hash.cfg | ||
parts = | ||
slapos-cookbook | ||
eggs | ||
template | ||
[setup-develop-egg] | ||
recipe = zc.recipe.egg:develop | ||
[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/ | ||
[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/ | ||
[erp5.util-setup] | ||
<= setup-develop-egg | ||
egg = erp5.util[testnode] | ||
setup = ${erp5.util-repository:location} | ||
[eggs] | ||
recipe = zc.recipe.egg | ||
eggs = | ||
${erp5.util-setup:egg} | ||
${python-cryptography:egg} | ||
slapos.core | ||
entry-points = | ||
runTestSuite=erp5.util.testsuite:runTestSuite | ||
scripts = | ||
runTestSuite | ||
slapos | ||
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 | ||
# XXX we need an unreleased version of erp5.util for better test uniqe naming | ||
# later we can stop fetching it from git and just use egg | ||
[erp5.util-repository] | ||
<= git-clone-repository | ||
repository = https://lab.nexedi.com/jerome/erp5.git | ||
revision = 88b28a501939594a64219bd8fac2516ee7c8ba0d | ||
|
||
[template] | ||
recipe = slapos.recipe.template | ||
url = ${:_profile_base_location_}/${:filename} | ||
output = ${buildout:directory}/template.cfg | ||
mode = 640 | ||
[versions] | ||
# clear the version of tested eggs, to make sure we installed the developped ones | ||
erp5.util = | ||
# Various needed versions | ||
slapos.recipe.template = 4.3 | ||
forcediphttpsadapter = 1.0.1 | ||
requests-toolbelt = 0.8.0 | ||
pysftp = 0.2.9 | ||
pyasn1 = 0.4.4 |