Commit 2f85b63a authored by Łukasz Nowak's avatar Łukasz Nowak

Move out configuration

parent 532530a7
...@@ -32,8 +32,8 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 } ...@@ -32,8 +32,8 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 }
config-data-to-vm = config-data-to-vm =
SCRIPTURL={{ script_url }} SCRIPTURL={{ script_url }}
POSTURL=http://[${httpd:host}]:${httpd:port}/test-result/ POSTURL=http://[${httpd:host}]:${httpd:port}/test-result/
WAITTIME=3600 WAITTIME={{ waittime }}
TRIES=10 TRIES={{ tries }}
# require HTTP server # require HTTP server
config-enable-http-server = true config-enable-http-server = true
......
...@@ -16,4 +16,6 @@ context = ...@@ -16,4 +16,6 @@ context =
raw bin_directory ${buildout:bin-directory} raw bin_directory ${buildout:bin-directory}
raw in_vm_test_script ${in-vm-test-script:location}/${in-vm-test-script:filename} raw in_vm_test_script ${in-vm-test-script:location}/${in-vm-test-script:filename}
raw in_vm_test_script_md5 ${in-vm-test-script:md5sum} raw in_vm_test_script_md5 ${in-vm-test-script:md5sum}
raw waittime ${in-vm-test-script:waittime}
raw tries ${in-vm-test-script:tries}
mode = 0644 mode = 0644
...@@ -24,11 +24,14 @@ md5sum = f8086c4d70af5afe0b3d1c00ea3ef437 ...@@ -24,11 +24,14 @@ md5sum = f8086c4d70af5afe0b3d1c00ea3ef437
mode = 0644 mode = 0644
download-only = true download-only = true
on-update = true on-update = true
# configuration
waittime = 3600
tries = 10
[template-cdn-test] [template-cdn-test]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in url = ${:_profile_base_location_}/instance.cfg.in
md5sum = 908c84181eab046757f2a1ef56174285 md5sum = bafe9d0860658076c834edc00b7d8cb9
output = ${buildout:directory}/template.cfg output = ${buildout:directory}/template.cfg
mode = 0644 mode = 0644
...@@ -36,7 +39,7 @@ mode = 0644 ...@@ -36,7 +39,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 = 641a64d3061ada9fe1f21a76c2302ea8 md5sum = fea044e27b45707389d95b629132cdca
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