X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=b61d03e46f56a4ad34b3a14b91895c947d5eb3ca;hb=99c399d8d8d1c30cfb4921a09f807365414a4112;hp=6256e651f4596a07c029b83b4c9d7733d38cfc9f;hpb=da2158236790739e5a39789cf5eb9360f599b302;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 6256e651..b61d03e4 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -48,7 +48,7 @@ EOF # Push merkels qa user, so the qa pages can show "dinstall is running" information echo "Telling merkels QA user that we start dinstall" -ssh -2 -i ~dak/.ssh/push_merkel_qa -o BatchMode=yes -o SetupTimeOut=30 -o ConnectTimeout=30 qa@merkel.debian.org sleep 1 +ssh -2 -i ~dak/.ssh/push_merkel_qa -o BatchMode=yes -o SetupTimeOut=90 -o ConnectTimeout=90 qa@merkel.debian.org sleep 1 || true ts ################################################################################ @@ -175,7 +175,7 @@ cd $scriptsdir ts echo "Trigger daily wanna-build run" -ssh buildd@buildd /org/wanna-build/trigger.daily +ssh -o BatchMode=yes -o SetupTimeOut=90 -o ConnectTimeout=90 buildd@buildd /org/wanna-build/trigger.daily || echo "W-B trigger.daily failed" | mail -s "W-B Daily trigger failed" ftpmaster@ftp-master.debian.org rm -f $NOTICE rm -f $LOCKCU @@ -217,7 +217,7 @@ $scriptsdir/dm-monitor >$webdir/dm-uploaders.html # Push katie@merkel so it syncs the projectb there. Returns immediately, the sync runs detached echo "Trigger merkels projectb sync" -ssh -2 -i ~/.ssh/push_merkel_projectb katie@merkel.debian.org sleep 1 +ssh -2 -o BatchMode=yes -o SetupTimeOut=30 -o ConnectTimeout=30 -i ~/.ssh/push_merkel_projectb katie@merkel.debian.org sleep 1 || true ################################################################################ @@ -247,14 +247,14 @@ apt-ftparchive -q clean apt.conf ts -# Compress psql backups older than a week, but no more than 20 of them +# Compress psql backups echo "Compress old psql backups" (cd $base/backup/ - find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' -mtime +7 | - sort | head -n20 | while read dumpname; do - echo "Compressing $dumpname" - bzip2 -9 "$dumpname" - done + find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' | + while read dumpname; do + echo "Compressing $dumpname" + bzip2 -9 "$dumpname" + done ) ts