Commit 532530a7 authored by Łukasz Nowak's avatar Łukasz Nowak

Support script-to-test-url

parent df49c7f6
{% set script_url = slapparameter_dict.get('script-to-test-url') -%}
[buildout] [buildout]
eggs-directory = {{ eggs_directory }} eggs-directory = {{ eggs_directory }}
...@@ -29,7 +30,7 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 } ...@@ -29,7 +30,7 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 }
# Script configuration # Script configuration
config-data-to-vm = config-data-to-vm =
SCRIPTURL=TODO SCRIPTURL={{ script_url }}
POSTURL=http://[${httpd:host}]:${httpd:port}/test-result/ POSTURL=http://[${httpd:host}]:${httpd:port}/test-result/
WAITTIME=3600 WAITTIME=3600
TRIES=10 TRIES=10
......
...@@ -13,6 +13,11 @@ ...@@ -13,6 +13,11 @@
"title": "MD5 checksum of Image To Test.", "title": "MD5 checksum of Image To Test.",
"description": "MD5 checksum of QCOW2 vm-bootstrap compatible image.", "description": "MD5 checksum of QCOW2 vm-bootstrap compatible image.",
"type": "string" "type": "string"
},
"script-to-test-url": {
"title": "Optional URL of script to test.",
"description": "Optional URL of script to test, which will be injected into the VM.",
"type": "string"
} }
}, },
"required": ["image-to-test-url", "image-to-test-md5sum"] "required": ["image-to-test-url", "image-to-test-md5sum"]
......
...@@ -36,7 +36,7 @@ mode = 0644 ...@@ -36,7 +36,7 @@ mode = 0644
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
ignore-existing = true ignore-existing = true
url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2 url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2
md5sum = 77766870194db4d31c8361d2f6ad196e md5sum = 641a64d3061ada9fe1f21a76c2302ea8
mode = 0644 mode = 0644
download-only = true download-only = true
on-update = true on-update = true
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