]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
also push images into storage-test DC
authorHolger Levsen <holger@layer-acht.org>
Fri, 14 Sep 2012 09:31:56 +0000 (11:31 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 14 Sep 2012 09:31:56 +0000 (11:31 +0200)
liveboot_build.sh

index 8a4a24f9280dddbd184266454441b686b57f27c4..944d51350ba0a2b2a319f0f5ead4797d4ef40eeb 100755 (executable)
@@ -18,11 +18,12 @@ RSYNC_FILTER=''
 # TODO: WORK IN PROGRESS
 # ri server
 RSYNC_DST1="liveboot@riserver/liveboot/" 
+# storage DC (mgmt11)
+RSYNC_DST2="liveboot@10.251.1.1/liveboot/"
 # pbb (mgmt5)
-RSYNC_DST2="liveboot@10.254.1.1/liveboot/"
+RSYNC_DST3="liveboot@10.254.1.1/liveboot/"
 # staging (mgmt9)
-RSYNC_DST3="liveboot@10.252.1.1/liveboot/"
-
+RSYNC_DST4="liveboot@10.252.1.1/liveboot/"
 
 BUILD_SCRIPT=$(mktemp)
 cat > $BUILD_SCRIPT <<-EOF
@@ -51,9 +52,12 @@ rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-exclu
 figlet "mirror to r+i OK"
 echo "Now rsyncing results to $RSYNC_DST2 ..."
 rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST2 
-figlet "mirror to pbb OK"
+figlet "mirror to storage-dc OK"
 echo "Now rsyncing results to $RSYNC_DST3 ..."
 rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST3
+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"