diff options
| author | Jesse Keating <jkeating@redhat.com> | 2008-08-19 14:33:12 -0400 |
|---|---|---|
| committer | Jesse Keating <jkeating@redhat.com> | 2008-08-19 14:33:12 -0400 |
| commit | a8910265c290f8dba1bc9539842355e6019153df (patch) | |
| tree | 728466b0fbadd69fecf20cbe4135bd7db4f49540 /scripts | |
| parent | b613baea3273e23209bb13508a6f8b54955faed8 (diff) | |
| download | releng-a8910265c290f8dba1bc9539842355e6019153df.tar.gz releng-a8910265c290f8dba1bc9539842355e6019153df.tar.xz releng-a8910265c290f8dba1bc9539842355e6019153df.zip | |
Disable some things for testing actual cron usage.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/buildrawhide | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/buildrawhide b/scripts/buildrawhide index c1efa08..b6f6920 100755 --- a/scripts/buildrawhide +++ b/scripts/buildrawhide @@ -3,7 +3,8 @@ # runs currently on releng1.fedora.phx.redhat.com DATE=$1 -RSYNC_OPTS="-rlptDHhv --delay-updates" +#RSYNC_OPTS="-rlptDHhv --delay-updates" +RSYNC_OPTS="-rlptDHhvn --delay-updates" DESTPATH="/pub/fedora/linux/development/" MOCKCONFIG=fedora-rawhide-compose-i386 @@ -37,7 +38,8 @@ if [ -n "\$OLD" ] mock -r $MOCKCONFIG --chroot "/usr/bin/repodiff -q --new=file:///mnt/koji/mash/rawhide-$DATE/development/source/SRPMS --old=file://\$OLD/development/source/SRPMS > /mnt/koji/mash/rawhide-$DATE/logs/repodiff" fi -mock -r $MOCKCONFIG --chroot "/usr/share/mash/spam-o-matic /mnt/koji/mash/rawhide-$DATE/development >/mnt/koji/mash/rawhide-$DATE/logs/depcheck" & +#mock -r $MOCKCONFIG --chroot "/usr/share/mash/spam-o-matic /mnt/koji/mash/rawhide-$DATE/development >/mnt/koji/mash/rawhide-$DATE/logs/depcheck" & +touch /mnt/koji/mash/rawhide-$DATE/logs/depcheck for arch in i386 x86_64 ppc ; do HOST=$(koji list-hosts --quiet --enabled --ready --arch=$arch | sed 's|/| |g' | sort -gn -k4 -k5r | awk -F '.' '{ print $1 ; exit }') @@ -54,6 +56,7 @@ su ftpsync -c "rsync $RSYNC_OPTS --exclude repodata/ /mnt/koji/mash/rawhide-$DAT # repodata & cleanup su ftpsync -c "rsync $RSYNC_OPTS --delete --delete-after /mnt/koji/mash/rawhide-$DATE/development/ $DESTPATH" if [ "$?" = "0" ]; then - cat /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | su rawhide -c "mail -s 'rawhide report: '$DATE' changes' fedora-devel-list@redhat.com,fedora-test-list@redhat.com" +# cat /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | su rawhide -c "mail -s 'rawhide report: '$DATE' changes' fedora-devel-list@redhat.com,fedora-test-list@redhat.com" + cat /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | su rawhide -c "mail -s 'rawhide report: '$DATE' changes' jkeating@redhat.com" fi exit 0 |
