Commit facbb5e8 authored by Jérome Perrin's avatar Jérome Perrin

software/jstestnode: publish nginx URL

parent 7457b64d
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 74d4c0a5105fa3d74af894fa1afa9ba2 md5sum = 976cb200c68a5d3f80ccabe28eecc31d
[template-nginx-service] [template-nginx-service]
filename = template-nginx-service.sh.in filename = template-nginx-service.sh.in
......
...@@ -2,5 +2,9 @@ ...@@ -2,5 +2,9 @@
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"description": "Values returned by JSTestNode instantiation", "description": "Values returned by JSTestNode instantiation",
"additionalProperties": false, "additionalProperties": false,
"type": "object" "type": "object",
"nginx": {
"description": "Nginx web server serving html test runner",
"type": "string"
}
} }
...@@ -2,12 +2,13 @@ ...@@ -2,12 +2,13 @@
parts = parts =
nginx-service nginx-service
runTestSuite-instance runTestSuite-instance
publish
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true offline = true
[publish] [publish]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish.serialised
nginx = http://[$${nginx-configuration:ip}]:$${nginx-configuration:port}/ nginx = http://[$${nginx-configuration:ip}]:$${nginx-configuration:port}/
[directory] [directory]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment