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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
5a043cfe
Commit
5a043cfe
authored
Jun 28, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability: stack/erp5 Rename section and binary
parent
703904ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+13
-8
stack/erp5/instance-scalability.cfg.in
stack/erp5/instance-scalability.cfg.in
+5
-2
No files found.
stack/erp5/buildout.cfg
View file @
5a043cfe
...
...
@@ -3,13 +3,15 @@
develop =
${:parts-directory}/slapos.cookbook-repository
${:parts-directory}/cloudooo-repository
${:parts-directory}/erp5.util
# not really just erp5-util but all erp5
${:parts-directory}/erp5.dev-repository
extensions =
slapos.zcbworkarounds
mr.developer
find-links =
http://192.168.242.75:1235/
http://www.nexedi.org/static/packages/source/slapos.buildout/
http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
http://dist.repoze.org
...
...
@@ -105,6 +107,7 @@ parts =
eggs
testrunner
test_suite_runner
scalability_test_suite_runner
# basic Xorg
libXdmcp
...
...
@@ -137,11 +140,11 @@ parts =
check-recipe
# Create instance template
template
erp5.util-repository
erp5.util-check
erp5.dev-repository
erp5.util
erp5.util-check
[erp5.
util
-repository]
[erp5.
dev
-repository]
recipe = slapos.recipe.build:gitclone
repository = http://192.168.242.75:1235/erp5.git
branch = scalability-master2
...
...
@@ -157,7 +160,7 @@ command = grep parts ${buildout:develop-eggs-directory}/erp5.util.egg-link
recipe = zc.recipe.egg
eggs = erp5.util
scripts =
ugly-depend-on = ${erp5.
util-repository:repository} ${erp5.util
-repository:branch}
ugly-depend-on = ${erp5.
dev-repository:repository} ${erp5.dev
-repository:branch}
[download-base]
...
...
@@ -310,7 +313,7 @@ md5sum = f271a904e7cc0039ce109f592fb48b5f
[template-scalability]
< = download-base
filename = instance-scalability.cfg.in
md5sum =
8aba8111a23eec924ec02b743a729463
md5sum =
fb479b5d2732fa32795be3ecb2ab22c9
[template-zeo]
< = download-base
...
...
@@ -438,12 +441,14 @@ initialization =
repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
# TODO : make also a binary for performance_tester
# Test to make binary
[scalability_
launch
er]
[scalability_
test_suite_runn
er]
recipe = zc.recipe.egg
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
scripts = erp5.util.scalability.
scalability_launcher
:main
scripts = erp5.util.scalability.
runScalabilityTestSuite
:main
[eggs]
...
...
stack/erp5/instance-scalability.cfg.in
View file @
5a043cfe
...
...
@@ -32,14 +32,17 @@ config-use-ipv6 = {{ dumps(slapparameter_dict.get('use-ipv6', False)) }}
# Create binary
[launcher]
scripts =
runScalabilityTestSuite = erp5.util.scalability.
scalability_launcher
:main
runScalabilityTestSuite = erp5.util.scalability.
runScalabilityTestSuite
:main
log-path = ${basedirectory:log}/runScalabilityTestSuite.log
binary-path = ${:bin-directory}/runScalabilityTestSuite
# TODO : make also a wrapper for performance_tester (used by runScalabilityTestSuite)
# Create wrapper and execute command with parameters
[binary-wrap-launcher]
recipe = slapos.cookbook:wrapper
wrapper-path = ${rootdirectory:bin}/
launcher
wrapper-path = ${rootdirectory:bin}/
runScalabilityTestSuite
output = ${launcher:binary-path}
# TODO : get the erp5-cluster main url (apache listening user port ?)
erp5-url = http://foo.bar
...
...
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