Send email reports about bikeshed composes
Note: depcheck logs are ignored for now. Details: https://pagure.io/releng/issue/7074 Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
This commit is contained in:
parent
84b3aab261
commit
9f318be95e
@ -95,5 +95,12 @@ send_fedmsg "${fedmsg_json_done}" ${DIST} rsync.complete
|
||||
# Tell everyone by fedmsg about the compose
|
||||
send_fedmsg "${fedmsg_json_done}" ${DIST} complete
|
||||
|
||||
# Tell everyone by email about the compose
|
||||
SUBJECT='Fedora Modular '$DIST' compose report: '$SHORTCOMPOSE_ID' changes'
|
||||
for tomail in $TOMAIL ; do
|
||||
cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose | \
|
||||
mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
|
||||
done
|
||||
|
||||
# Remove old composes older than 14 days
|
||||
find $TARGET_DIR/Fedora-Modular-Bikeshed* -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user