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

Make the profile control the output

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