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 <dusty@dustymabe.com>
This commit is contained in:
Dusty Mabe 2018-07-31 10:22:54 -04:00
parent 5811d705a9
commit a53be1ff25
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671

View File

@ -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