]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Generate and update graphs from the cron job
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Feb 2014 10:37:55 +0000 (11:37 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 7 Feb 2014 10:37:55 +0000 (11:37 +0100)
continuous/cron.sh
continuous/www/Makefile [new file with mode: 0644]

index 14e3d5aca7da5b2ac588dcd61106ab78f71adb4c..ef5a309ca220922aad58ff02755b8326d3a1bd56 100755 (executable)
@@ -12,3 +12,5 @@ NOW=$(date +%F_%R:%S)
 LOG=logs/${NOW}.log
 
 make -C steps > $LOG 2>&1 || cat $LOG
 LOG=logs/${NOW}.log
 
 make -C steps > $LOG 2>&1 || cat $LOG
+
+make -C www --silent publish
diff --git a/continuous/www/Makefile b/continuous/www/Makefile
new file mode 100644 (file)
index 0000000..61195a3
--- /dev/null
@@ -0,0 +1,7 @@
+all: process
+
+process:
+       cat ../logs/* | ./wvperf2html.py > index.html
+
+publish: process
+       rsync -r index.html *.json js canperf@rtime.felk.cvut.cz: