[csw-devel] SF.net SVN: opencsw:[567] buildfarm/bin/push-opencsw-to-mirror
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Oct 11 19:42:04 CEST 2011
Revision: 567
http://opencsw.svn.sourceforge.net/opencsw/?rev=567&view=rev
Author: dmichelsen
Date: 2011-10-11 17:42:04 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
pushing to mirrors by IP
Modified Paths:
--------------
buildfarm/bin/push-opencsw-to-mirror
Modified: buildfarm/bin/push-opencsw-to-mirror
===================================================================
--- buildfarm/bin/push-opencsw-to-mirror 2011-09-30 13:07:21 UTC (rev 566)
+++ buildfarm/bin/push-opencsw-to-mirror 2011-10-11 17:42:04 UTC (rev 567)
@@ -1,7 +1,35 @@
#!/bin/sh
-# The official mirror push
-/opt/csw/bin/rsync -raHv --delete-after /export/mirror/opencsw-official/ mirror at rsync.opencsw.org:/csw/rsync/csw/
+# push_target_hosts="rsync.opencsw.org"
+push_target_hosts="131.188.40.80"
-# The development mirror push
-/opt/csw/bin/rsync -raHv --delete-after /export/mirror/opencsw-future/ mirror at rsync.opencsw.org:/csw/rsync/csw-future/
+for push_target_host in $push_target_hosts
+do
+ # The official mirror push
+ /opt/csw/bin/rsync -raHv --delete-after \
+ --rsync-path=/opt/csw/bin/rsync \
+ /export/mirror/opencsw-official/ mirror@${push_target_host}:/csw/rsync/csw/
+
+ # The development mirror push
+ /opt/csw/bin/rsync -raHv --delete-after \
+ --rsync-path=/opt/csw/bin/rsync \
+ /export/mirror/opencsw-future/ mirror@${push_target_host}:/csw/rsync/csw-future/
+done
+
+# push_target_hosts="opencsw-mirror.informatik.uni-erlangen.de"
+push_target_hosts="131.188.40.82"
+
+for push_target_host in $push_target_hosts
+do
+
+ # The new mirror (as of 2011-09)
+ /opt/csw/bin/rsync -raHv --delete-after \
+ --rsync-path=/opt/csw/bin/rsync \
+ /export/mirror/opencsw-official/ \
+ mirror@${push_target_host}:/vhost/mirror.opencsw.org/htdocs/opencsw
+
+ /opt/csw/bin/rsync -raHv --delete-after \
+ --rsync-path=/opt/csw/bin/rsync \
+ /export/mirror/opencsw-future/ \
+ mirror@${push_target_host}:/vhost/mirror.opencsw.org/htdocs/opencsw-future
+done
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list