| |
@@ -20,8 +20,8 @@
|
| |
FROM="Fedora Rawhide Report <rawhide@fedoraproject.org>"
|
| |
RSYNCPREFIX="sudo -u ftpsync"
|
| |
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
|
| |
- ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
|
| |
- ATOMICDEST="/mnt/koji/atomic/$BRANCHED/"
|
| |
+ ATOMICREPO="/mnt/koji/compose/atomic/repo/"
|
| |
+ ATOMICDEST="/mnt/koji/atomic/repo/"
|
| |
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID)
|
| |
# uncomment and edit for resuming a failed compose
|
| |
#COMPOSE_ID="Fedora-23-20150530.n.0"
|
| |
@@ -85,7 +85,11 @@
|
| |
./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
|
| |
+ # The release branches are retained forever, but e.g.
|
| |
+ # fedora-atomic/25/x86_64/updates/docker-host gets pruned.
|
| |
+ ostree prune --repo=$ATOMICREPO --keep-younger-than="14 days ago" --refs-only \
|
| |
+ --retain-branch-depth=fedora-atomic/25/x86_64/docker-host=-1 \
|
| |
+ --retain-branch-depth=fedora/26/x86_64/atomic-host=-1 \
|
| |
|
| |
# Tell interested persons that the rsync is starting (zomg!)
|
| |
send_fedmsg "${fedmsg_json_start}" ${DIST} rsync.start
|
| |
Related: https://pagure.io/releng/issue/6871