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
Thomas Gambier
slapos
Commits
3b4448d0
Commit
3b4448d0
authored
Mar 04, 2014
by
Nicolas Wavrant
Committed by
Cédric Le Ninivin
Apr 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: bin/runTestSuite created with buildout
parent
f283cfe2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+1
-1
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+8
-4
No files found.
software/slaprunner/common.cfg
View file @
3b4448d0
...
@@ -44,7 +44,7 @@ mode = 0644
...
@@ -44,7 +44,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in
output = ${buildout:directory}/template-runner.cfg.in
md5sum =
35244440c627151428210ab2645df556
md5sum =
569fc375fdf28c2ca8d40be9d6a4814c
mode = 0644
mode = 0644
[instance-runner-import]
[instance-runner-import]
...
...
software/slaprunner/instance-runner.cfg
View file @
3b4448d0
...
@@ -14,11 +14,11 @@ parts =
...
@@ -14,11 +14,11 @@ parts =
slaprunner-promise
slaprunner-promise
slaprunner-frontend-promise
slaprunner-frontend-promise
dropbear-promise
dropbear-promise
runtestsuite
shellinabox-promise
shellinabox-promise
symlinks
symlinks
shellinabox
shellinabox
slapos-cfg
slapos-cfg
slapos-test-cfg
slapos-repo-config
slapos-repo-config
cron-entry-prepare-software
cron-entry-prepare-software
deploy-instance-parameters
deploy-instance-parameters
...
@@ -176,16 +176,20 @@ knowledge0_file = $${buildout:directory}/$${public:filename}
...
@@ -176,16 +176,20 @@ knowledge0_file = $${buildout:directory}/$${public:filename}
[test-runner]
[test-runner]
<= slaprunner
<= slaprunner
slaprunnertest = ${buildout:directory}/bin/slaprunnertest
slapos.cfg = $${directory:etc}/slapos-test.cfg
slapos.cfg = $${directory:etc}/slapos-test.cfg
working-directory = $${runnerdirectory:test}
working-directory = $${runnerdirectory:test}
project-directory = $${runnerdirectory:project-test}
project-directory = $${runnerdirectory:project-test}
software-directory = $${runnerdirectory:software-test}
software-directory = $${runnerdirectory:software-test}
instance-directory = $${runnerdirectory:instance-test}
instance-directory = $${runnerdirectory:instance-test}
proxy_port = 8602
proxy_port = 8602
wrapper = $${directory:bin}/runTestSuite
etc_dir = $${directory:test}
etc_dir = $${directory:test}
[runtestsuite]
recipe = slapos.cookbook:wrapper
command-line = ${buildout:directory}/bin/slaprunnertest
wrapper-path = $${directory:bin}/runTestSuite
environment = RUNNER_CONFIG=$${slapos-test-cfg:rendered}
# Deploy dropbear (minimalist SSH server)
# Deploy dropbear (minimalist SSH server)
[sshkeys-directory]
[sshkeys-directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
@@ -486,7 +490,7 @@ context =
...
@@ -486,7 +490,7 @@ context =
[slapos-test-cfg]
[slapos-test-cfg]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename}
template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename}
rendered = $${
slap
runner:slapos.cfg}
rendered = $${
test-
runner:slapos.cfg}
mode = 700
mode = 700
context =
context =
section slaprunner test-runner
section slaprunner test-runner
...
...
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