Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
85025788
Commit
85025788
authored
Oct 01, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a3c09f9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
component/pygolang/buildout-dev.cfg
component/pygolang/buildout-dev.cfg
+1
-0
component/pygolang/test/software.cfg
component/pygolang/test/software.cfg
+9
-3
stack/nxdtest.cfg
stack/nxdtest.cfg
+2
-0
stack/nxdtest/instance.cfg.in
stack/nxdtest/instance.cfg.in
+3
-1
No files found.
component/pygolang/buildout-dev.cfg
View file @
85025788
...
...
@@ -13,6 +13,7 @@ setup = ${pygolang-repository:location}
[pygolang-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/pygolang.git
branch = master
location = ${buildout:parts-directory}/pygolang-dev
git-executable = ${git:location}/bin/git
...
...
component/pygolang/test/software.cfg
View file @
85025788
# SlapOS software release to test pygolang on Nexedi testing infrastructure
# SlapOS software release to test pygolang on Nexedi testing infrastructure
.
[buildout]
extends =
...
...
@@ -14,14 +14,20 @@ parts =
instance.cfg
# XXX temp
[pygolang-repository]
repository = https://lab.nexedi.com/kirr/pygolang.git
branch = x/nxdtest
# tune pygolang to install with all and for-tests extras.
[pygolang]
egg = pygolang[all_test]
# bin/python is preinstalled with sys.path to pygolang & friends.
#
use
[gpython], instead of [pygolang], since interpreter works only for regular
#
Adjust
[gpython], instead of [pygolang], since interpreter works only for regular
# zc.recipe.egg, not zc.recipe.egg:custom used by [pygolang].
#
t
he `python` interpreter will just set sys.path to pygolang _without_ activating gevent.
#
T
he `python` interpreter will just set sys.path to pygolang _without_ activating gevent.
[gpython]
interpreter = python
...
...
stack/nxdtest.cfg
View file @
85025788
...
...
@@ -22,7 +22,9 @@ context =
section buildout buildout
section nxdtest nxdtest
key env_sh :env.sh
key workdir :workdir
# XXX env.sh - must be provided by user XXX or default empty?
# XXX workdir ----/----
[nxdtest]
...
...
stack/nxdtest/instance.cfg.in
View file @
85025788
...
...
@@ -24,5 +24,7 @@ t = ${:home}/t
[runTestSuite]
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:bin}/${:_buildout_section_name_}
command-line = /bin/bash -c '. {{ env_sh }} && cd ${directory:t} && {{ nxdtest['exe'] }} "$@"' nxdtest
# XXX way to run nxdtest out of tree? (for neotest)
#command-line = /bin/bash -c '. {{ env_sh }} && cd ${directory:t} && {{ nxdtest['exe'] }} "$@"' nxdtest
command-line = /bin/bash -c '. {{ env_sh }} && cd {{ workdir }} && {{ nxdtest['exe'] }} "$@"' nxdtest
# "$@" is implicitly added to argv
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