Commit 78323832 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

software/ors-amarisoft: add SR for automatic tests

parent d6cb5bf5
# NEO test software-release
#
# This software-release prepares environment so that neotest NEO
# testing/benchmarking can be run in a SlapOS WebRunner.
[buildout]
extends =
buildout.hash.cfg
../../component/git/buildout.cfg
../../component/pytest/buildout.cfg
../../stack/slapos.cfg
../../stack/nxdtest.cfg
parts =
openradio-python
# for instance
slapos-cookbook
instance.cfg
# instance to run nxdtest.
[instance.cfg]
<= jinja2-template
inline =
[buildout]
extends = ${nxdtest-instance.cfg:output}
parts += tnxdtest
[runTestSuite]
env.sh = ${openradio-env.sh:output}
workdir = $${directory:t}
[directory]
t = $${:home}/t
# instance/t/.nxdtest -> .nxdtest inside openradio/neo
[tnxdtest]
recipe = plone.recipe.command
stop-on-error = yes
command = ln -s -t $${directory:t} ${openradio-repository:location}/.nxdtest
[openradio-env.sh]
recipe = slapos.recipe.template
inline =
export PATH="${buildout:bin-directory}:$PATH" # for python with eggs
output = ${buildout:directory}/${:_buildout_section_name_}
[openradio-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/open-radio-e2e-testing.git
git-executable = ${git:location}/bin/git
branch = tomo
[openradio-develop]
recipe = zc.recipe.egg:develop
egg = open-radio-e2e-testing
setup = ${openradio-repository:location}
[openradio-python]
<= python-interpreter
eggs +=
${pytest:eggs}
${openradio-develop:egg}
plone.recipe.command
...@@ -254,6 +254,7 @@ chardet = 3.0.4 ...@@ -254,6 +254,7 @@ chardet = 3.0.4
urllib3 = 1.26.12 urllib3 = 1.26.12
pkgconfig = 1.5.1 pkgconfig = 1.5.1
distro = 1.7.0 distro = 1.7.0
websocket-client = 1.4.1
[versions:python2] [versions:python2]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment