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
Eteri
slapos
Commits
d0de87e2
Commit
d0de87e2
authored
Mar 03, 2014
by
Nicolas Wavrant
Committed by
Cédric Le Ninivin
Apr 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: do not use slaprunner.test recipe anymore
slaprunner: bin/runTestSuite created with buildout
parent
b0a6f9e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+1
-1
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+14
-4
No files found.
software/slaprunner/common.cfg
View file @
d0de87e2
...
@@ -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 =
2bf878b9e658cfb59b44ad1ee107e4d4
md5sum =
569fc375fdf28c2ca8d40be9d6a4814c
mode = 0644
mode = 0644
[instance-runner-import]
[instance-runner-import]
...
...
software/slaprunner/instance-runner.cfg
View file @
d0de87e2
...
@@ -7,7 +7,6 @@ parts =
...
@@ -7,7 +7,6 @@ parts =
ca-shellinabox
ca-shellinabox
gunicorn-launcher
gunicorn-launcher
gunicorn-graceful
gunicorn-graceful
test-runner
sshkeys-dropbear-runner
sshkeys-dropbear-runner
dropbear-server-add-authorized-key
dropbear-server-add-authorized-key
sshkeys-authority
sshkeys-authority
...
@@ -15,6 +14,7 @@ parts =
...
@@ -15,6 +14,7 @@ parts =
slaprunner-promise
slaprunner-promise
slaprunner-frontend-promise
slaprunner-frontend-promise
dropbear-promise
dropbear-promise
runtestsuite
shellinabox-promise
shellinabox-promise
symlinks
symlinks
shellinabox
shellinabox
...
@@ -176,17 +176,19 @@ knowledge0_file = $${buildout:directory}/$${public:filename}
...
@@ -176,17 +176,19 @@ knowledge0_file = $${buildout:directory}/$${public:filename}
[test-runner]
[test-runner]
<= slaprunner
<= slaprunner
recipe = slapos.cookbook:slaprunner.test
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]
...
@@ -485,6 +487,14 @@ mode = 700
...
@@ -485,6 +487,14 @@ mode = 700
context =
context =
section slaprunner slaprunner
section slaprunner slaprunner
[slapos-test-cfg]
recipe = slapos.recipe.template:jinja2
template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename}
rendered = $${test-runner:slapos.cfg}
mode = 700
context =
section slaprunner test-runner
[shellinabox]
[shellinabox]
recipe = slapos.cookbook:shellinabox
recipe = slapos.cookbook:shellinabox
ipv6 = $${slap-network-information:global-ipv6}
ipv6 = $${slap-network-information:global-ipv6}
...
...
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