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
Sebastian
slapos
Commits
02ac8472
Commit
02ac8472
authored
Jun 11, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change code in order to use local erp5 code
parent
6cf68669
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
17 deletions
+20
-17
slapos/recipe/erp5testnode/__init__.py
slapos/recipe/erp5testnode/__init__.py
+1
-0
software/erp5testnode/instance-default.cfg
software/erp5testnode/instance-default.cfg
+1
-1
software/erp5testnode/software.cfg
software/erp5testnode/software.cfg
+15
-15
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+3
-1
No files found.
slapos/recipe/erp5testnode/__init__.py
View file @
02ac8472
...
...
@@ -89,6 +89,7 @@ class Recipe(GenericBaseRecipe):
ip
=
self
.
options
[
'httpd-ip'
],
port
=
self
.
options
[
'httpd-port'
],
error_log
=
os
.
path
.
join
(
self
.
options
[
'httpd-log-directory'
],
testnode_srv_directory
=
self
.
options
[
'srv-directory'
],
'httpd-error.log'
),
access_log
=
os
.
path
.
join
(
self
.
options
[
'httpd-log-directory'
],
'httpd-access.log'
),
...
...
software/erp5testnode/instance-default.cfg
View file @
02ac8472
...
...
@@ -26,13 +26,13 @@ pwgen-binary = ${pwgen:location}/bin/pwgen
[testnode]
recipe = slapos.cookbook:erp5testnode
slapos-directory = $${directory:slapos}
working-directory = $${directory:testnode}
test-suite-directory = $${directory:test-suite}
proxy-host = $${slap-network-information:global-ipv6}
proxy-port = 5000
log-directory = $${directory:log}
srv-directory = $${rootdirectory:srv}
run-directory = $${directory:run}
test-node-title = $${slap-parameter:test-node-title}
node-quantity = $${slap-parameter:node-quantity}
...
...
software/erp5testnode/software.cfg
View file @
02ac8472
[buildout]
find-links += http://dist.repoze.org
find-links += http://192.168.242.75:1235/
http://dist.repoze.org
http://www.nexedi.org/static/packages/source/
extends =
...
...
@@ -26,6 +27,7 @@ parts =
template
lxml-python
eggs
testnode
zip
git
apache
...
...
@@ -36,7 +38,9 @@ recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_}
#command = ${git:location}/bin/git clone --branch erp5testnode --quiet http://git.erp5.org/repos/slapos.git ${:location}
command = ${git:location}/bin/git clone --branch erp5testnode --quiet http://192.168.242.75:1236/slapdev.git ${:location}
branch = erp5testnode
repository = http://192.168.242.75:1236/slapdev.git
command = ${git:location}/bin/git clone --branch ${:branch} ${:repository} ${:location}
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && "${git:location}/bin/git" reset --hard @{upstream}
[check-recipe]
...
...
@@ -45,19 +49,6 @@ stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
[scalability_testnode]
#The plone.recipe.command buildout recipe allows you to run a command when a buildout part is installed or updated
recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/testnode
branch = scalability-master2
#repository = http://git.erp5.org/repos/erp5.git
repository = http://192.168.242.75:1235/erp5.git
command = ${git:location}/bin/git clone --branch ${:branch} ${:repository} ${:location}
update-command = cd "${:location}" && "${git:location}/bin/git" fetch && "${git:location}/bin/git" reset --hard @{upstream}
[eggs]
recipe = zc.recipe.egg
eggs =
...
...
@@ -70,6 +61,15 @@ eggs =
PyXML
[testnode]
#The plone.recipe.command buildout recipe allows you to run a command when a buildout part is installed or updated
recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/testnode
branch = scalability-master2
#repository = http://git.erp5.org/repos/erp5.git
repository = http://192.168.242.75:1235/erp5.git
command = ${git:location}/bin/git clone --branch ${:branch} ${:repository} ${:location}
update-command = cd "${:location}" && "${git:location}/bin/git" fetch && "${git:location}/bin/git" reset --hard @{upstream}
scripts =
testnode = erp5.util.testnode:main
...
...
stack/erp5/buildout.cfg
View file @
02ac8472
...
...
@@ -149,9 +149,11 @@ parts =
recipe = plone.recipe.command
stop-on-error = true
branch = erp5testnode
repository = http://192.168.242.75:1236/slapdev.git
revision =
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
#command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
command = "${git:location}/bin/git" clone --branch "${:branch}" "${:repository}" "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
[testnode]
...
...
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