1c051a9c4893791adf1c277cc77ff5f6ea520364
chmalee
  Thu Jun 24 14:27:57 2021 -0700
Add hgdownload2 to list of hgdownload machines for users apps and other build targets, refs Hiram email

diff --git src/utils/qa/weeklybld/buildHgCentralSql.csh src/utils/qa/weeklybld/buildHgCentralSql.csh
index 1bcb39e..2574246 100755
--- src/utils/qa/weeklybld/buildHgCentralSql.csh
+++ src/utils/qa/weeklybld/buildHgCentralSql.csh
@@ -84,30 +84,33 @@
 endif 
 
 rm hgcentral.sql
 cp -p /tmp/hgcentral.sql hgcentral.sql
 set temp = '"'"v${BRANCHNN}"'"'
 git commit -m $temp hgcentral.sql
 if ( $status ) then
 	echo "error during git commit of hgcentral.sql."
 	exit 1
 endif
 
 # push to hgdownload
 ssh -n qateam@hgdownload "rm /mirrordata/apache/htdocs/admin/hgcentral.sql"
 scp -p hgcentral.sql qateam@hgdownload:/mirrordata/apache/htdocs/admin/
 
+ssh -n qateam@hgdownload2 "rm /mirrordata/apache/htdocs/admin/hgcentral.sql"
+scp -p hgcentral.sql qateam@hgdownload2:/mirrordata/apache/htdocs/admin/
+
 ssh -n qateam@genome-euro "rm /mirrordata/apache/htdocs/admin/hgcentral.sql"
 scp -p hgcentral.sql qateam@genome-euro:/mirrordata/apache/htdocs/admin/
 
 # archive
 set dateStamp = `date "+%FT%T"`
 cp -p hgcentral.sql /hive/groups/browser/centralArchive/hgcentral.$dateStamp.sql
 gzip /hive/groups/browser/centralArchive/hgcentral.$dateStamp.sql
 
 echo
 echo "A new hgcentral.sql file should now be present at:"
 echo "  http://hgdownload.soe.ucsc.edu/admin/"
 echo "   and"
 echo "  genome-euro"
 echo
 echo "If it is not, you can request a push of the file:"