From 05d2c72502044e8ab33346264dfaf81ee798be00 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 7 Feb 2014 11:37:55 +0100 Subject: [PATCH] Generate and update graphs from the cron job --- continuous/cron.sh | 2 ++ continuous/www/Makefile | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 continuous/www/Makefile diff --git a/continuous/cron.sh b/continuous/cron.sh index 14e3d5a..ef5a309 100755 --- a/continuous/cron.sh +++ b/continuous/cron.sh @@ -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 index 0000000..61195a3 --- /dev/null +++ b/continuous/www/Makefile @@ -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: -- 2.39.2