6998ffe694
Instead of parsing the log file to get the NVR and then in turn use that to get to the build info use the structured return value from the koji task. The return value of the osbuild plugin is: result = { "composer": { "server": <COMPOSER_URL>, "id": <COMPOSE_ID> }, "koji": { "build": <BUILD_ID> } } This means we have direct access to the koji build id, which was returned by composer to the plugin via its status API. Using that removes the need to parse the log file. Adapt the test accordingly. Merges: https://pagure.io/pungi/pull-request/1475 Signed-off-by: Christian Kellner <christian@kellner.me> |
||
---|---|---|
.. | ||
gather | ||
pkgset | ||
__init__.py | ||
base.py | ||
buildinstall.py | ||
createiso.py | ||
createrepo.py | ||
extra_files.py | ||
extra_isos.py | ||
image_build.py | ||
image_checksum.py | ||
init.py | ||
live_images.py | ||
livemedia_phase.py | ||
osbs.py | ||
osbuild.py | ||
ostree_installer.py | ||
ostree.py | ||
phases_metadata.py | ||
repoclosure.py | ||
test.py | ||
weaver.py |