Dump images.json after checksumming
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ář <lsedlar@redhat.com>
This commit is contained in:
parent
b2b5dd919b
commit
b5e4ea848a
@ -372,14 +372,13 @@ def run_compose(compose):
|
|||||||
image_checksum_phase.stop()
|
image_checksum_phase.stop()
|
||||||
|
|
||||||
pungi.metadata.write_compose_info(compose)
|
pungi.metadata.write_compose_info(compose)
|
||||||
|
compose.im.dump(compose.paths.compose.metadata("images.json"))
|
||||||
osbs_phase.dump_metadata()
|
osbs_phase.dump_metadata()
|
||||||
|
|
||||||
# TEST phase
|
# TEST phase
|
||||||
test_phase.start()
|
test_phase.start()
|
||||||
test_phase.stop()
|
test_phase.stop()
|
||||||
|
|
||||||
compose.im.dump(compose.paths.compose.metadata("images.json"))
|
|
||||||
|
|
||||||
# create a latest symlink
|
# create a latest symlink
|
||||||
compose_dir = os.path.basename(compose.topdir)
|
compose_dir = os.path.basename(compose.topdir)
|
||||||
if len(compose.conf["release_version"].split(".")) == 1:
|
if len(compose.conf["release_version"].split(".")) == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user