From 8a568d5c13be4f37691323dbd7ed019f0a315864 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Apr 08 2016 13:39:29 +0000 Subject: add fedmsg's for rsync and compose done Signed-off-by: Dennis Gilmore --- diff --git a/nightly.sh b/nightly.sh index 9d3da49..12d7373 100755 --- a/nightly.sh +++ b/nightly.sh @@ -113,6 +113,9 @@ compose-changelog -p $TARGET_DIR/$NEWCOMPOSE_ID/logs/ $TARGET_DIR/$OLDCOMPOSE_ID ./releng/scripts/critpath.py --url file://$DESTDIR/compose/Everything -o $DESTDIR/logs/critpath.txt branched &> $DESTDIR/logs/critpath.log } +# Tell interested persons that the rsync is starting (zomg!) + +send_fedmsg "${fedmsg_json_start}" ${DIST} rsync.start for dir in Everything Atomic CloudImages Docker Server Spins Workstation ; do @@ -131,6 +134,15 @@ for dir in Cloud Labs ; done $RSYNCPREFIX rsync -avhH --delete-after $ATOMICREPO $ATOMICDEST +# Tell interested persons that the rsync is done. + +send_fedmsg "${fedmsg_json_done}" ${DIST} rsync.complete + +# Tell everyone by fedmsg about the compose + +send_fedmsg "${fedmsg_json_done}" ${DIST} complete + + SUBJECT='Fedora '$DIST' compose report: '$SHORTCOMPOSE_ID' changes' if [ "$mail" = "0" ]; then for tomail in $TOMAIL ; do