From a53be1ff2561b761641158164f34683580a6bdf1 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Jul 31 2018 14:24:56 +0000 Subject: nightly: update ostree summary immediately after each sync Some of our automated testing falls over if the ref file and summary file are out of sync. This should help. Signed-off-by: Dusty Mabe --- diff --git a/nightly.sh b/nightly.sh index 38896d4..b3550d2 100755 --- a/nightly.sh +++ b/nightly.sh @@ -178,11 +178,12 @@ $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCSECTARGET/" --name "$NEWC # 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/rawhide/${arch}/atomic-host" + ostree summary -u --repo=$ATOMICDESTREPO # update summary file done for arch in x86_64; do ostree pull-local --repo=$ATOMICDESTREPO $ATOMICSRCREPO --depth=-1 "fedora/rawhide/${arch}/workstation" + ostree summary -u --repo=$ATOMICDESTREPO # update summary file done -ostree summary -u --repo=$ATOMICDESTREPO # update summary file # Push rawhide base container image to fedora registry ./releng/scripts/sync-latest-container-base-image.sh 29