Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos
Commits
e9540d8c
Commit
e9540d8c
authored
May 13, 2022
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-testing: test slapcache
parent
8d5e8dd8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
software/slapos-testing/buildout.hash.cfg
software/slapos-testing/buildout.hash.cfg
+1
-1
software/slapos-testing/instance.cfg
software/slapos-testing/instance.cfg
+10
-0
software/slapos-testing/software.cfg
software/slapos-testing/software.cfg
+11
-0
No files found.
software/slapos-testing/buildout.hash.cfg
View file @
e9540d8c
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum =
850dedff7af48a70208361cabf688724
md5sum =
3112bf86fa543df52548a551f5413f99
software/slapos-testing/instance.cfg
View file @
e9540d8c
...
@@ -47,6 +47,10 @@ output = $${caucase:location}/host_setting.sh
...
@@ -47,6 +47,10 @@ output = $${caucase:location}/host_setting.sh
<= download-source
<= download-source
repository = ${slapos.libnetworkcache-repository:location}
repository = ${slapos.libnetworkcache-repository:location}
[slapcache]
<= download-source
repository = ${slapcache-repository:location}
[erp5.util]
[erp5.util]
<= download-source
<= download-source
repository = ${erp5.util-repository:location}
repository = ${erp5.util-repository:location}
...
@@ -177,6 +181,12 @@ inline =
...
@@ -177,6 +181,12 @@ inline =
cwd="""$${slapos.libnetworkcache:location}""",
cwd="""$${slapos.libnetworkcache:location}""",
summaryf=UnitTest.summary,
summaryf=UnitTest.summary,
)
)
TestCase(
"slapcache",
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapcache/test'],
cwd="""$${slapcache:location}""",
summaryf=UnitTest.summary,
)
TestCase(
TestCase(
"slapos.rebootstrap",
"slapos.rebootstrap",
['python', '-m', 'unittest', '-v', 'slapos.rebootstrap.tests.test_suite'],
['python', '-m', 'unittest', '-v', 'slapos.rebootstrap.tests.test_suite'],
...
...
software/slapos-testing/software.cfg
View file @
e9540d8c
...
@@ -55,6 +55,11 @@ depends = ${caucase-setup:egg}
...
@@ -55,6 +55,11 @@ depends = ${caucase-setup:egg}
egg = slapos.libnetworkcache
egg = slapos.libnetworkcache
setup = ${slapos.libnetworkcache-repository:location}
setup = ${slapos.libnetworkcache-repository:location}
[slapcache-setup]
<= setup-develop-egg
egg = slapcache
setup = ${slapcache-repository:location}
[erp5.util-setup]
[erp5.util-setup]
<= setup-develop-egg
<= setup-develop-egg
# XXX erp5.util does not have `test` extra require, but has a `testnode` extra require with same dependencies
# XXX erp5.util does not have `test` extra require, but has a `testnode` extra require with same dependencies
...
@@ -132,6 +137,7 @@ eggs +=
...
@@ -132,6 +137,7 @@ eggs +=
${slapos.recipe.template-setup:egg}
${slapos.recipe.template-setup:egg}
${slapos.toolbox-setup:egg}
${slapos.toolbox-setup:egg}
${slapos.libnetworkcache-setup:egg}
${slapos.libnetworkcache-setup:egg}
${slapcache-setup:egg}
${slapos.rebootstrap-setup:egg}
${slapos.rebootstrap-setup:egg}
${rubygemsrecipe-setup:egg}
${rubygemsrecipe-setup:egg}
zope.testing
zope.testing
...
@@ -178,6 +184,10 @@ repository = https://lab.nexedi.com/nexedi/slapos.recipe.template.git
...
@@ -178,6 +184,10 @@ repository = https://lab.nexedi.com/nexedi/slapos.recipe.template.git
<= git-clone-repository
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.libnetworkcache.git
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]
[slapos.recipe.build-repository]
<= git-clone-repository
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
...
@@ -249,3 +259,4 @@ zope.testing = 4.6.2
...
@@ -249,3 +259,4 @@ zope.testing = 4.6.2
urllib3 = 1.24.1
urllib3 = 1.24.1
pathlib = 1.0.1
pathlib = 1.0.1
psycopg2 = 2.8.6
psycopg2 = 2.8.6
iniparse = 0.5
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment