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
Léo-Paul Géneau
slapos
Commits
d9cbf829
Commit
d9cbf829
authored
Oct 04, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jstestnode: some cleanup
parent
fb3ee44e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
18 deletions
+20
-18
component/nodejs/buildout.cfg
component/nodejs/buildout.cfg
+0
-9
software/jstestnode/buildout.hash.cfg
software/jstestnode/buildout.hash.cfg
+1
-1
software/jstestnode/runTestSuite.in
software/jstestnode/runTestSuite.in
+1
-1
software/jstestnode/software.cfg
software/jstestnode/software.cfg
+18
-7
No files found.
component/nodejs/buildout.cfg
View file @
d9cbf829
...
@@ -57,15 +57,6 @@ environment =
...
@@ -57,15 +57,6 @@ environment =
LDFLAGS=-Wl,-rpath=${:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LD_LIBRARY_PATH=${:openssl_location}/lib
LD_LIBRARY_PATH=${:openssl_location}/lib
[nodejs-8.6.0-output]
# Shared binary location to ease migration
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = ${coreutils-output:test} -x ${:node} -a -x ${:npm}
node = ${nodejs-8.6.0:location}/bin/node
npm = ${nodejs-8.6.0:location}/bin/npm
[npm]
[npm]
# Node.js Package Manager
# Node.js Package Manager
# Deprecated. Included in node >= 0.6.3.
# Deprecated. Included in node >= 0.6.3.
...
...
software/jstestnode/buildout.hash.cfg
View file @
d9cbf829
...
@@ -27,4 +27,4 @@ md5sum = 98faa5ad8cfb23a11d97a459078a1d05
...
@@ -27,4 +27,4 @@ md5sum = 98faa5ad8cfb23a11d97a459078a1d05
[template-runTestSuite]
[template-runTestSuite]
filename = runTestSuite.in
filename = runTestSuite.in
md5sum =
3e2fbde4b6a1cc202b5fd2a0f14413fd
md5sum =
2e77a374f8c18cd77c50ee0f326aa97b
software/jstestnode/runTestSuite.in
View file @
d9cbf829
...
@@ -69,7 +69,7 @@ def main():
...
@@ -69,7 +69,7 @@ def main():
target = test_runner.get('target', 'firefox')
target = test_runner.get('target', 'firefox')
if target == 'node':
if target == 'node':
# Execute NodeJS tests
# Execute NodeJS tests
result_string = check_output(['${nodejs
-output:node}
', '${jio-repository.git:location}/test/node.js'],
result_string = check_output(['${nodejs
:node}/bin/node
', '${jio-repository.git:location}/test/node.js'],
cwd='${jio-repository.git:location}',
cwd='${jio-repository.git:location}',
env={'CI': 'true'})
env={'CI': 'true'})
result_dict = json.loads(result_string)
result_dict = json.loads(result_string)
...
...
software/jstestnode/software.cfg
View file @
d9cbf829
...
@@ -32,9 +32,6 @@ parts =
...
@@ -32,9 +32,6 @@ parts =
[nodejs]
[nodejs]
<= nodejs-8.6.0
<= nodejs-8.6.0
[nodejs-output]
<= nodejs-8.6.0-output
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
...
@@ -54,7 +51,11 @@ develop = true
...
@@ -54,7 +51,11 @@ develop = true
[renderjs-install]
[renderjs-install]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
command = cd ${renderjs-repository.git:location} && PATH=${git:location}/bin/:${nodejs:location}/bin/:${bzip2:location}/bin/:$PATH ${nodejs-output:npm} install . && PATH=${git:location}/bin/:${nodejs:location}/bin/:${bzip2:location}/bin/:$PATH ./node_modules/grunt-cli/bin/grunt
command = set -e
cd ${renderjs-repository.git:location}
PATH=${git:location}/bin:${nodejs:location}/bin:${bzip2:location}/bin:$PATH
npm install .
./node_modules/grunt-cli/bin/grunt
update-command = ${:command}
update-command = ${:command}
[jio-repository.git]
[jio-repository.git]
...
@@ -67,7 +68,11 @@ develop = true
...
@@ -67,7 +68,11 @@ develop = true
[jio-install]
[jio-install]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
command = cd ${jio-repository.git:location} && PATH=${git:location}/bin/:${nodejs:location}/bin/:$PATH ${nodejs:location}/bin/npm install jslint@0.9.2 jison@0.4.16 git://github.com/qunitjs/node-qunit.git#v0.9.3 sinon@1.7.3 && PATH=${curl:location}/bin/:${nodejs:location}/bin/:$PATH make
command = set -e
cd ${jio-repository.git:location}
PATH=${git:location}/bin:${nodejs:location}/bin:$PATH
${nodejs:location}/bin/npm install jslint@0.9.2 jison@0.4.16 git://github.com/qunitjs/node-qunit.git#v0.9.3 sinon@1.7.3
make
update-command = ${:command}
update-command = ${:command}
[rsvp-repository.git]
[rsvp-repository.git]
...
@@ -80,7 +85,10 @@ develop = true
...
@@ -80,7 +85,10 @@ develop = true
[rsvp-install]
[rsvp-install]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
command = cd ${rsvp-repository.git:location} && PATH=${git:location}/bin/:${nodejs:location}/bin/:$PATH ${nodejs:location}/bin/npm install .
command = set -e
cd ${rsvp-repository.git:location}
PATH=${git:location}/bin:${nodejs:location}/bin:$PATH
npm install .
update-command = ${:command}
update-command = ${:command}
[uritemplate-repository.git]
[uritemplate-repository.git]
...
@@ -93,7 +101,10 @@ develop = true
...
@@ -93,7 +101,10 @@ develop = true
[uritemplate-install]
[uritemplate-install]
recipe = plone.recipe.command
recipe = plone.recipe.command
stop-on-error = true
stop-on-error = true
command = cd ${uritemplate-repository.git:location} && PATH=${git:location}/bin/:${nodejs:location}/bin/:$PATH ${nodejs:location}/bin/npm install .
command = set -e
cd ${uritemplate-repository.git:location}
PATH=${git:location}/bin:${nodejs:location}/bin:$PATH
npm install .
update-command = ${:command}
update-command = ${:command}
[macro-template]
[macro-template]
...
...
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