Commit 051758cc authored by Łukasz Nowak's avatar Łukasz Nowak

Make the profile control the output

parent d409b94a
......@@ -83,5 +83,5 @@ done
echo "$0: Try $try. Uploading log and exiting with $result." >> $LOG_FILE 2>&1
t=`date '+%Y%m%d%H%S'`
mv $LOG_FILE ${LOG_FILE}.$t
curl -q -X POST --data-urlencode "path=test-script-result/log-file.log.$t" --data-urlencode "content@${LOG_FILE}.$t" $POSTURL
curl -q -X POST --data-urlencode "path=log-file.log.$t" --data-urlencode "content@${LOG_FILE}.$t" $POSTURL
exit $result
......@@ -30,7 +30,7 @@ config-bootstrap-script-url = {{ in_vm_test_script }}#{{ in_vm_test_script_md5 }
# Script configuration
config-data-to-vm =
SCRIPTURL=TODO
POSTURL=http://[${httpd:host}]:${httpd:port}/
POSTURL=http://[${httpd:host}]:${httpd:port}/test-result/
WAITTIME=3600
TRIES=10
......
......@@ -12,7 +12,7 @@ recipe = slapos.recipe.download
ignore-existing = true
filename = in-vm-test
url = ${:_profile_base_location_}/${:filename}
md5sum = 67368520461951f3771a16ddf5b18353
md5sum = f8086c4d70af5afe0b3d1c00ea3ef437
mode = 0644
download-only = true
on-update = true
......@@ -28,7 +28,7 @@ mode = 0644
recipe = hexagonit.recipe.download
ignore-existing = true
url = ${:_profile_base_location_}/instance-cdn-test.cfg.jinja2
md5sum = 9bc21a36320d594ad571ec059f2fc23a
md5sum = 76606fac7f2b931de050c4dbe1853227
mode = 0644
download-only = 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