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 14e3d5a..ef5a309 100755 (executable)
@@ -12,3 +12,5 @@ NOW=$(date +%F_%R:%S)
 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: