From 132edaad169fa798fc8a84818b5b23c57dd57f35 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 28 Oct 2014 01:40:04 +0100 Subject: d-i: drop d-i_parse_build_logs job. add 15 new ones, d-i_overview_$arch. Each jobs checks the build status for its arch. There are no irc notifictations yet, as currently the jobs are run 24 times a day and I don't want 24 notifications a day..." --- bin/d-i_parse_logs.sh | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 bin/d-i_parse_logs.sh (limited to 'bin/d-i_parse_logs.sh') diff --git a/bin/d-i_parse_logs.sh b/bin/d-i_parse_logs.sh deleted file mode 100755 index 074c7f39..00000000 --- a/bin/d-i_parse_logs.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# Copyright 2012-2014 Holger Levsen -# released under the GPLv=2 - -DEBUG=false -. /srv/jenkins/bin/common-functions.sh -common_init "$@" - -# convert param to variables -if [ "$1" == "" ] ; then - echo "need at least one URL to act on" - echo '# $1 = URL' - exit 1 -fi -URL=$1 - -TMPFILE=$(mktemp) -curl $URL > $TMPFILE -if [ $(grep -c failed $TMPFILE 2>/dev/null ) -gt 1 ] ; then - figlet Warning: - figlet failed builds: - for FILE in $(grep failed $TMPFILE | awk '{print $2}' FS=href= | cut -d '"' -f2) ; do - echo Warning: $FILE failed - done -elif [ $(grep buildd $TMPFILE 2>/dev/null|grep -v "$(date +'%b %d')"|grep -v "$(date --date yesterday +'%b %d')"|grep -v "See also"|wc -l ) -gt 0 ] ; then - echo "Warning: outdated builds:" - figlet outdated builds - grep buildd $TMPFILE 2>/dev/null|grep -v "$(date +'%b %d')"| grep -v "$(date --date yesterday +'%b %d')" |grep -v "See also" -else - figlet ok -fi -echo -echo Check $1 yourself -echo - -sed -i -s 's#