]> err.no Git - dak/commitdiff
remove wb
authorJoerg Jaspert <joerg@debian.org>
Sun, 20 Dec 2009 20:30:40 +0000 (21:30 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 20 Dec 2009 20:30:40 +0000 (21:30 +0100)
remove the wb daily push stuff.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/common
config/debian/cron.unchecked
config/debian/dinstall.functions

index 212d84ad4b07adc456e76580bebcf9a74b779093..43bd1bd0271df9c1d1d74e76e53b7dca2259a348 100644 (file)
@@ -26,16 +26,9 @@ function debug () {
 }
 
 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}"
 }
index a9e59f2f373a7b7c006d08f49c17c011b1f55c40..fbc2a5efb3b3e7c906709ead0704e0680a3e1d19 100755 (executable)
@@ -70,7 +70,7 @@ function do_buildd () {
             fi
         done
         make_buildd_dir
-        wbtrigger "often"
+        wbtrigger
     fi
 }
 
index 19d62ed09afa15883c8c376978fa0f1818853480..e921563a7d9b31263855339c0a581ea376cc18b9 100644 (file)
@@ -392,11 +392,6 @@ function mirror() {
     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