[osbs] Add NVRA of created image into main log
Currently the main log only says the phase started and finished. With this patch each created image will be mentioned by its name, version, release and arch. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
d3b9ae79a5
commit
f43b8736b7
@ -108,6 +108,8 @@ class OSBSThread(WorkerThread):
|
||||
data.update(archive['extra'])
|
||||
data.update(metadata)
|
||||
arch = archive['extra']['image']['arch']
|
||||
self.pool.log_debug('Created Docker base image %s-%s-%s.%s' % (
|
||||
metadata['name'], metadata['version'], metadata['release'], arch))
|
||||
self.pool.metadata.setdefault(
|
||||
variant.uid, {}).setdefault(arch, []).append(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user