From b5e4ea848a5c7cf24ddc074fbcebfe4c15a362df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 19 Oct 2016 15:02:33 +0200 Subject: [PATCH] Dump images.json after checksumming MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Once we have the checksums, nothing else will change in the metadata. We should make sure it is on disk as soon as possible. Fixes: #436 Signed-off-by: Lubomír Sedlář --- bin/pungi-koji | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/pungi-koji b/bin/pungi-koji index 94c5e745..d256748d 100755 --- a/bin/pungi-koji +++ b/bin/pungi-koji @@ -372,14 +372,13 @@ def run_compose(compose): image_checksum_phase.stop() pungi.metadata.write_compose_info(compose) + compose.im.dump(compose.paths.compose.metadata("images.json")) osbs_phase.dump_metadata() # TEST phase test_phase.start() test_phase.stop() - compose.im.dump(compose.paths.compose.metadata("images.json")) - # create a latest symlink compose_dir = os.path.basename(compose.topdir) if len(compose.conf["release_version"].split(".")) == 1: