Revision: 2251
Author: bmsleight
Date: 2006-05-24 15:13:29 -0700 (Wed, 24 May 2006)
ViewCVS: http://svn.sourceforge.net/morphix/?rev=2251&view=rev
Log Message:
-----------
Option to skip the download and re-test today's builds
Modified Paths:
--------------
trunk/mmaker/utils/auto-testing/run_testing.sh
Modified: trunk/mmaker/utils/auto-testing/run_testing.sh
===================================================================
--- trunk/mmaker/utils/auto-testing/run_testing.sh 2006-05-24 21:51:00 UTC (rev 2250)
+++ trunk/mmaker/utils/auto-testing/run_testing.sh 2006-05-24 22:13:29 UTC (rev 2251)
@@ -19,7 +19,7 @@
# 5 - Convert screenshots to video
# 6 - rsync video
# 7 - Relax until the next day
-
+SKIP_DOWNLOADS="$1"
DEBUG_MINI=/home/morph/minimods/Morphix-Mini-Debug-Auto-Testing.mod
TMP_ISO_DIR=/tmp/iso
@@ -47,49 +47,50 @@
find /home/morph/autobuilds/mainmod/sid/ -not -type d -mtime +1 -print0 | xargs --null --no-run-if-empty sudo rm -f
find /home/morph/autobuilds/base/ -not -type d -mtime +1 -print0 | xargs --null --no-run-if-empty sudo rm -f
find /home/morph/autobuilds/minimod/ -not -type d -mtime +1 -print0 | xargs --null --no-run-if-empty sudo rm -f
-
-rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/base/*$TODAY* /home/morph/autobuilds/base/
-rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/sid/*$TODAY* /home/morph/autobuilds/mainmod/sid/
-rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/sarge/*$TODAY* /home/morph/autobuilds/mainmod/sarge/
-rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/minimod/*$TODAY* /home/morph/autobuilds/minimod/
-
-
find /home/morph/videos/ -not -type d -mtime +4 -print0 | xargs --null --no-run-if-empty sudo rm -f
-#Get Autobuilds from alextreme.org
-echo $DIVIDER
-echo "Getting AutoBuilds from Alextreme.org"
-echo $TITLED
-date
-STORE_AT_MM="/home/morph/alextreme/mainmod"
-REMOTE_AT_MM="http://www.alextreme.org/autobuilds/"
-GNOME_NAME="morphix-gnome-"
-KDE_NAME="morphix-kde-"
+if [ -z "$SKIP_DOWNLOADS" ]; then
+ rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/base/*$TODAY* /home/morph/autobuilds/base/
+ rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/sid/*$TODAY* /home/morph/autobuilds/mainmod/sid/
+ rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/sarge/*$TODAY* /home/morph/autobuilds/mainmod/sarge/
+ rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/minimod/*$TODAY* /home/morph/autobuilds/minimod/
-find $STORE_AT_MM/ -not -type d -mtime +1 -print0 | xargs --null --no-run-if-empty sudo rm -f
-rm $STORE_AT_MM/index.html* 1>/dev/null 2>&1
-wget_cl() {
- wget --no-verbose --tries=3 --timeout=60 --directory-prefix=$1 $2
- }
-wget_cl "$STORE_AT_MM" "$REMOTE_AT_MM/"
-if [ -e $STORE_AT_MM/index.html ]
- then
- TODAY=$(date +"%F")
- GNOME=$( grep $STORE_AT_MM/index.html -e $GNOME_NAME$TODAY | sed -e s/^.*\<a\ href=\"//g | sed -e s/\"\>.*$//g | grep -e "mod$")
- KDE=$( grep $STORE_AT_MM/index.html -e $KDE_NAME$TODAY | sed -e s/^.*\<a\ href=\"//g | sed -e s/\"\>.*$//g | grep -e "mod$")
- WGETS=" $REMOTE_AT_MM/$GNOME $REMOTE_AT_MM/$GNOME.md5 $REMOTE_AT_MM/$KDE $REMOTE_AT_MM/$KDE.md5"
- for WGET in $WGETS
- do
- if [ -e $WGET ]
+ #Get Autobuilds from alextreme.org
+ echo $DIVIDER
+ echo "Getting AutoBuilds from Alextreme.org"
+ echo $TITLED
+ date
+
+ STORE_AT_MM="/home/morph/alextreme/mainmod"
+ REMOTE_AT_MM="http://www.alextreme.org/autobuilds/"
+ GNOME_NAME="morphix-gnome-"
+ KDE_NAME="morphix-kde-"
+
+ find $STORE_AT_MM/ -not -type d -mtime +1 -print0 | xargs --null --no-run-if-empty sudo rm -f
+ rm $STORE_AT_MM/index.html* 1>/dev/null 2>&1
+ wget_cl() {
+ wget --no-verbose --tries=3 --timeout=60 --directory-prefix=$1 $2
+ }
+ wget_cl "$STORE_AT_MM" "$REMOTE_AT_MM/"
+ if [ -e $STORE_AT_MM/index.html ]
then
- echo $WGET ' file exists skipping d/load'
- else
- wget_cl $STORE_AT_MM $WGET
- fi
- done
-else
- echo "$REMOTE_AT_MM/index.html does not exist skipping other d/loads"
+ TODAY=$(date +"%F")
+ GNOME=$( grep $STORE_AT_MM/index.html -e $GNOME_NAME$TODAY | sed -e s/^.*\<a\ href=\"//g | sed -e s/\"\>.*$//g | grep -e "mod$")
+ KDE=$( grep $STORE_AT_MM/index.html -e $KDE_NAME$TODAY | sed -e s/^.*\<a\ href=\"//g | sed -e s/\"\>.*$//g | grep -e "mod$")
+ WGETS=" $REMOTE_AT_MM/$GNOME $REMOTE_AT_MM/$GNOME.md5 $REMOTE_AT_MM/$KDE $REMOTE_AT_MM/$KDE.md5"
+ for WGET in $WGETS
+ do
+ if [ -e $WGET ]
+ then
+ echo $WGET ' file exists skipping d/load'
+ else
+ wget_cl $STORE_AT_MM $WGET
+ fi
+ done
+ else
+ echo "$REMOTE_AT_MM/index.html does not exist skipping other d/loads"
+ fi
fi
#Build minimod
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.