Commit d1f8753b authored by Jérome Perrin's avatar Jérome Perrin

Update Release Candidate

parents 9b690af1 a014646d
[python]
part = python2.7
# SlapOS software release to test zodbtools/ZODB4-py2 on Nexedi testing infrastructure.
[buildout]
extends =
test-zodb4.cfg
test-py2.cfg
# SlapOS software release to test zodbtools/ZODB4-wc2-py2 on Nexedi testing infrastructure.
[buildout]
extends =
test-zodb4-wc2.cfg
test-py2.cfg
# SlapOS software release to test zodbtools/ZODB4-wc2 on Nexedi testing infrastructure. # SlapOS software release to test zodbtools/ZODB4-wc2-py3 on Nexedi testing infrastructure.
[buildout] [buildout]
extends = test-common.cfg extends = test-common.cfg
......
# SlapOS software release to test zodbtools/ZODB4-py3 on Nexedi testing infrastructure.
[buildout]
extends = test-common.cfg
[ZODB]
major = 4
# SlapOS software release to test zodbtools/ZODB5-py2 on Nexedi testing infrastructure.
[buildout]
extends =
test-zodb5.cfg
test-py2.cfg
# SlapOS software release to test zodbtools/ZODB5 on Nexedi testing infrastructure. # SlapOS software release to test zodbtools/ZODB5-py3 on Nexedi testing infrastructure.
[buildout] [buildout]
extends = test-common.cfg extends = test-common.cfg
......
# SlapOS software release to test zodbtools on Nexedi testing infrastructure.
[buildout]
extends = test-common.cfg
...@@ -3,4 +3,4 @@ extends = ...@@ -3,4 +3,4 @@ extends =
software.cfg software.cfg
[python] [python]
part = python3 part = python2.7
...@@ -6,9 +6,6 @@ parts = ...@@ -6,9 +6,6 @@ parts =
slapos-cookbook slapos-cookbook
template template
[python]
part = python2.7
[slapos.buildout-repository] [slapos.buildout-repository]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/slapos.buildout.git repository = https://lab.nexedi.com/nexedi/slapos.buildout.git
......
...@@ -181,8 +181,8 @@ def main(): ...@@ -181,8 +181,8 @@ def main():
# Create the site # Create the site
status_dict = waitForSite(args.partition_path) status_dict = waitForSite(args.partition_path)
status_file = tempfile.NamedTemporaryFile() status_file = tempfile.NamedTemporaryFile(mode='w')
status_file.write(json.dumps(status_dict)) json.dump(status_dict, status_file)
status_file.flush() status_file.flush()
os.fsync(status_file.fileno()) os.fsync(status_file.fileno())
os.environ['TEST_SITE_STATUS_JSON'] = status_file.name os.environ['TEST_SITE_STATUS_JSON'] = status_file.name
......
...@@ -5,7 +5,7 @@ This software release is used to run unit test of slapos eggs. ...@@ -5,7 +5,7 @@ This software release is used to run unit test of slapos eggs.
The approach is to use nxdtest test runner, which will run tests for each The approach is to use nxdtest test runner, which will run tests for each
projects, as described in `.nxdtest` file. projects, as described in `.nxdtest` file.
The results of this test suite running on Nexedi ERP5 are published as The results of this test suite running on Nexedi ERP5 are published as
`SlapOS.Eggs.UnitTest-Master.Python3` and `SlapOS.Eggs.UnitTest-Master.Python2`. `SlapOS.Eggs.UnitTest-Master.Python3` and `SlapOS.Eggs.UnitTest-Master.Python2`.
...@@ -36,14 +36,14 @@ source ( environment script from step above ) ...@@ -36,14 +36,14 @@ source ( environment script from step above )
cd ~/srv/runner/instance/slappartXXX/parts/slapos.core/ cd ~/srv/runner/instance/slappartXXX/parts/slapos.core/
# make some changes to the code # make some changes to the code
vim slapos/tests/client.py $EDITOR slapos/tests/client.py
# run slapos.core tests # run slapos.core tests
runTestSuite --run slapos.core runTestSuite --run slapos.core
# ... or run all eggs tests # ... or run all eggs tests
runTestSuite runTestSuite
# when satified, commit changes # when satisfied, commit changes
git add -p && git commit git add -p && git commit
# add developer's fork remote (this is only needed the first time) # add developer's fork remote (this is only needed the first time)
......
...@@ -3,4 +3,4 @@ extends = ...@@ -3,4 +3,4 @@ extends =
software.cfg software.cfg
[python] [python]
part = python3 part = python2.7
...@@ -30,9 +30,6 @@ parts = ...@@ -30,9 +30,6 @@ parts =
phantomjs phantomjs
template template
[python]
part = python2.7
[bootstrap-slapos.recipe.cmmi] [bootstrap-slapos.recipe.cmmi]
# install our develop version of slapos.recipe.cmmi before anything else, # install our develop version of slapos.recipe.cmmi before anything else,
# otherwise it will be installed from pypi by dependencies. # otherwise it will be installed from pypi by dependencies.
......
...@@ -193,7 +193,7 @@ setproctitle = 1.1.10 ...@@ -193,7 +193,7 @@ setproctitle = 1.1.10
setuptools-dso = 1.7 setuptools-dso = 1.7
rubygemsrecipe = 0.4.3 rubygemsrecipe = 0.4.3
six = 1.16.0 six = 1.16.0
slapos.cookbook = 1.0.253 slapos.cookbook = 1.0.272
slapos.core = 1.8.1 slapos.core = 1.8.1
slapos.extension.shared = 1.0 slapos.extension.shared = 1.0
slapos.libnetworkcache = 0.25 slapos.libnetworkcache = 0.25
......
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