From 1edd5f8bbeda381a73f3e7fa65c2b230dc91ef46 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: May 17 2016 00:37:41 +0000 Subject: prune the aomic repo before syncing Signed-off-by: Dennis Gilmore --- diff --git a/nightly.sh b/nightly.sh index a0150b4..75a43e7 100755 --- a/nightly.sh +++ b/nightly.sh @@ -84,6 +84,8 @@ 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 } +ostree prune --repo=$ATOMICREPO --keep-younger-than="14 days ago" --refs-only + # Tell interested persons that the rsync is starting (zomg!) send_fedmsg "${fedmsg_json_start}" ${DIST} rsync.start