From: Holger Levsen Date: Fri, 14 Sep 2012 15:11:01 +0000 (+0200) Subject: mirror to dc1+dc2 too X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=6931240becb6cd7d1c31697ebfeff1ed66c8c1f3;p=profitbricks%2Fjenkins-build-scripts.git mirror to dc1+dc2 too --- diff --git a/liveboot_build.sh b/liveboot_build.sh index 3652ada..52dd670 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -23,7 +23,8 @@ RSYNC_DST2="liveboot@10.251.1.1/liveboot/" RSYNC_DST3="liveboot@10.254.1.1/liveboot/" # staging (mgmt9) RSYNC_DST4="liveboot@10.252.1.1/liveboot/" -# TODO: DC1 + DC2 +# dc1+2 (mgmt1) +RSYNC_DST5="liveboot@10.1.1.1/liveboot/" BUILD_SCRIPT=$(mktemp) cat > $BUILD_SCRIPT <<-EOF @@ -76,11 +77,9 @@ figlet "mirror to pbb OK" echo "Now rsyncing results to $RSYNC_DST4 ..." rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST4 figlet "mirror to staging OK" - -echo "mirror to DCs is MISSING" - +echo "Now rsyncing results to $RSYNC_DST5 ..." +rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST5 +figlet "mirror to DC1+2 OK" du -sh /srv/mirror/liveboot - figlet "OK" -