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

slapos-testing: test slapcache

parent 8d5e8dd8
Pipeline #21485 failed with stage
......@@ -15,4 +15,4 @@
[template]
filename = instance.cfg
md5sum = 850dedff7af48a70208361cabf688724
md5sum = 3112bf86fa543df52548a551f5413f99
......@@ -47,6 +47,10 @@ output = $${caucase:location}/host_setting.sh
<= download-source
repository = ${slapos.libnetworkcache-repository:location}
[slapcache]
<= download-source
repository = ${slapcache-repository:location}
[erp5.util]
<= download-source
repository = ${erp5.util-repository:location}
......@@ -177,6 +181,12 @@ inline =
cwd="""$${slapos.libnetworkcache:location}""",
summaryf=UnitTest.summary,
)
TestCase(
"slapcache",
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapcache/test'],
cwd="""$${slapcache:location}""",
summaryf=UnitTest.summary,
)
TestCase(
"slapos.rebootstrap",
['python', '-m', 'unittest', '-v', 'slapos.rebootstrap.tests.test_suite'],
......
......@@ -55,6 +55,11 @@ depends = ${caucase-setup:egg}
egg = slapos.libnetworkcache
setup = ${slapos.libnetworkcache-repository:location}
[slapcache-setup]
<= setup-develop-egg
egg = slapcache
setup = ${slapcache-repository:location}
[erp5.util-setup]
<= setup-develop-egg
# XXX erp5.util does not have `test` extra require, but has a `testnode` extra require with same dependencies
......@@ -132,6 +137,7 @@ eggs +=
${slapos.recipe.template-setup:egg}
${slapos.toolbox-setup:egg}
${slapos.libnetworkcache-setup:egg}
${slapcache-setup:egg}
${slapos.rebootstrap-setup:egg}
${rubygemsrecipe-setup:egg}
zope.testing
......@@ -178,6 +184,10 @@ repository = https://lab.nexedi.com/nexedi/slapos.recipe.template.git
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.libnetworkcache.git
[slapcache-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapcache.git
[slapos.recipe.build-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
......@@ -249,3 +259,4 @@ zope.testing = 4.6.2
urllib3 = 1.24.1
pathlib = 1.0.1
psycopg2 = 2.8.6
iniparse = 0.5
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