From 6746e5213be64b649c13de8ffc2ae4affb998aad Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mar 15 2019 18:10:30 +0000 Subject: nightly.sh: make sure we sync 31 containers. Add some comments and a fedmsg at the end after the cleanup. Signed-off-by: Kevin Fenzi --- diff --git a/nightly.sh b/nightly.sh index 2ac1479..8f72ccb 100755 --- a/nightly.sh +++ b/nightly.sh @@ -196,7 +196,7 @@ done # Push rawhide base container image to fedora registry pushd ./releng pushd ./scripts -./sync-latest-container-base-image.sh 30 +./sync-latest-container-base-image.sh 31 popd popd @@ -215,5 +215,6 @@ for tomail in $TOMAIL ; do mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail done +# Removed all the older than 14 days composes find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \; - +send_fedmsg "${fedmsg_json_done}" ${RELEASE} cleanup.complete