From 2e1a181ed91be00a35c25528df9ad7b263de80ce Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Apr 25 2018 19:50:38 +0000 Subject: nightly.sh: don't sync ostree content Let's do this in new-updates-sync [1] from now on. [1] https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/bodhi2/backend/files/new-updates-sync Signed-off-by: Dusty Mabe --- diff --git a/nightly.sh b/nightly.sh index 3e0f1ff..5bcae00 100755 --- a/nightly.sh +++ b/nightly.sh @@ -21,8 +21,6 @@ RSYNCPREFIX="sudo -u ftpsync" RSYNCTARGET="/pub/fedora/linux/development/$RELEASE" RSYNCALTTARGET="/pub/alt/development/$RELEASE" RSYNCSECTARGET="/pub/fedora-secondary/development/$RELEASE" -ATOMICSRCREPO="/mnt/koji/compose/atomic/repo/" -ATOMICDESTREPO="/mnt/koji/atomic/repo/" OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) # uncomment and edit for resuming a failed compose #COMPOSE_ID="Fedora-23-20150530.n.0" @@ -175,14 +173,8 @@ $RSYNCPREFIX rm "$RSYNCSECTARGET/.composeinfo" $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCSECTARGET/" --name "$NEWCOMPOSE_ID" -# sync over atomic host/workstation to the unified ostree repo -for arch in x86_64 aarch64 ppc64le; do - ostree pull-local --repo=$ATOMICDESTREPO $ATOMICSRCREPO --depth=-1 "fedora/28/${arch}/atomic-host" -done -for arch in x86_64; do - ostree pull-local --repo=$ATOMICDESTREPO $ATOMICSRCREPO --depth=-1 "fedora/28/${arch}/workstation" -done -ostree summary -u --repo=$ATOMICDESTREPO # update summary file +# FYI: syncing of ostrees happens in new-updates-sync script +# https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/bodhi2/backend/files/new-updates-sync # Tell interested persons that the rsync is done. send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete