remove the wb daily push stuff.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
}
function wbtrigger() {
- MODE=${1:-"often"}
SSHOPT="-o BatchMode=yes -o ConnectTimeout=30 -o SetupTimeout=240"
if lockfile -r 3 -l 3600 "${LOCK_BUILDD}"; then
- if [ "x${MODE}x" = "xdailyx" ]; then
- ssh ${SSHOPT} wbadm@buildd /org/wanna-build/trigger.daily || echo "W-B trigger.daily failed" | mail -s "W-B Daily trigger failed" ftpmaster@ftp-master.debian.org
- elif [ "x${MODE}x" = "xoftenx" ]; then
- ssh -q -q ${SSHOPT} wbadm@buildd /org/wanna-build/trigger.often
- else
- log_error "Unknown wb trigger mode called"
- fi
+ ssh -q -q ${SSHOPT} wbadm@buildd /org/wanna-build/trigger.often
fi
rm -f "${LOCK_BUILDD}"
}
fi
done
make_buildd_dir
- wbtrigger "often"
+ wbtrigger
fi
}
rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. .
}
-function wb() {
- log "Trigger daily wanna-build run"
- wbtrigger "daily"
-}
-
function expire() {
log "Expiring old database dumps..."
cd $base/backup