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
Boxiang Sun
slapos
Commits
2f34a0e7
Commit
2f34a0e7
authored
Feb 26, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-testing: Merge jio and officejs tests on slapos-testing
parent
d2cf211c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
1 deletion
+38
-1
software/slapos-testing/instance.cfg
software/slapos-testing/instance.cfg
+19
-0
software/slapos-testing/software.cfg
software/slapos-testing/software.cfg
+19
-1
No files found.
software/slapos-testing/instance.cfg
View file @
2f34a0e7
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
parts =
parts =
slapos.core-setup
slapos.core-setup
erp5.util-setup
erp5.util-setup
phantomjs-wrapper
slapos-test-runner
slapos-test-runner
sh-environment
sh-environment
...
@@ -48,6 +49,14 @@ recipe = plone.recipe.command
...
@@ -48,6 +49,14 @@ recipe = plone.recipe.command
command = echo "Updating setup...";cd $${erp5-util:location}; export PATH="$${slapos-test-runner:prepend-path}:$PATH"; export CPPFLAGS="$${environment:CPPFLAGS}"; export LDFLAGS="$${environment:LDFLAGS}"; export PYTHONPATH="$${environment:PYTHONPATH}"; python setup.py test -n; python setup.py test -n; python setup.py test -n; python setup.py test -n; python setup.py test -n
command = echo "Updating setup...";cd $${erp5-util:location}; export PATH="$${slapos-test-runner:prepend-path}:$PATH"; export CPPFLAGS="$${environment:CPPFLAGS}"; export LDFLAGS="$${environment:LDFLAGS}"; export PYTHONPATH="$${environment:PYTHONPATH}"; python setup.py test -n; python setup.py test -n; python setup.py test -n; python setup.py test -n; python setup.py test -n
update-command = $${:command}
update-command = $${:command}
[officejs]
<= download-source
repository = ${officejs-repository:location}
[jio]
<= download-source
repository = ${jio-repository:location}
[slapos-test-runner]
[slapos-test-runner]
recipe = slapos.cookbook:egg_test
recipe = slapos.cookbook:egg_test
run-test-suite = $${create-directory:bin}/runTestSuite
run-test-suite = $${create-directory:bin}/runTestSuite
...
@@ -60,6 +69,8 @@ test-list =
...
@@ -60,6 +69,8 @@ test-list =
$${slapos.recipe.template:location}
$${slapos.recipe.template:location}
$${slapos.recipe.build:location}
$${slapos.recipe.build:location}
$${erp5-util:location}
$${erp5-util:location}
$${jio:location}
$${officejs:location}
prepend-path = ${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
prepend-path = ${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
environment = environment
environment = environment
...
@@ -81,3 +92,11 @@ input = inline:
...
@@ -81,3 +92,11 @@ input = inline:
export PS1="[slapos-testing env Active] $PS1"
export PS1="[slapos-testing env Active] $PS1"
output = $${create-directory:bin}/environment.sh
output = $${create-directory:bin}/environment.sh
mode = 755
mode = 755
[phantomjs-wrapper]
recipe = slapos.cookbook:wrapper
command-line = ${phantomjs:location}/phantomjs-slapos
wrapper-path = $${directory:bin}/phantomjs
# XXX we must use "parameters-extra" (- instead of _)
# when new slapos.cookbook will be used
parameters_extra = true
software/slapos-testing/software.cfg
View file @
2f34a0e7
...
@@ -8,6 +8,7 @@ extends =
...
@@ -8,6 +8,7 @@ extends =
../../component/python-2.7/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/python-setuptools/buildout.cfg
../../component/python-setuptools/buildout.cfg
../../component/zlib/buildout.cfg
../../component/zlib/buildout.cfg
../../component/phantomjs/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
parts =
parts =
...
@@ -16,7 +17,10 @@ parts =
...
@@ -16,7 +17,10 @@ parts =
slapos.recipe.template-repository
slapos.recipe.template-repository
slapos.recipe.build-repository
slapos.recipe.build-repository
erp5-util-repository
erp5-util-repository
officejs-repository
jio-repository
eggs
eggs
phantomjs
template
template
[eggs]
[eggs]
...
@@ -67,10 +71,24 @@ forbid-download-cache = true
...
@@ -67,10 +71,24 @@ forbid-download-cache = true
repository = http://git.erp5.org/repos/erp5.git
repository = http://git.erp5.org/repos/erp5.git
branch = master
branch = master
[officejs-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
forbid-download-cache = true
repository = http://git.erp5.org/repos/officejs.git
branch = jqs
[jio-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
forbid-download-cache = true
repository = http://git.erp5.org/repos/jio.git
branch = master
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
md5sum =
478ba8c3138a77013e12b50354837bfb
md5sum =
d0f430678b4407af6d6d66c9f2ac5c93
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
mode = 640
mode = 640
...
...
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