pungi/pungi/phases
Christian Kellner 6998ffe694 osbuild: use task result to get build info
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>
2020-11-30 09:57:48 +01:00
..
gather Optimize link_files by creating temporary dict mapping path to pkg_obj. 2020-11-11 12:20:01 +00:00
pkgset Make sure old pkgset arch repo exists when reuing 2020-09-24 10:43:35 +08:00
__init__.py Add phase for building images with osbuild 2020-11-04 13:04:43 +01:00
base.py Format code base with black 2020-02-05 17:35:47 +08:00
buildinstall.py Allow squashfs-only and configuration_file in lorax_options 2020-08-11 09:29:50 +00:00
createiso.py Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
createrepo.py createrepo: Ignore error when cleaning up tmp dir 2020-09-01 18:27:00 +08:00
extra_files.py Format code base with black 2020-02-05 17:35:47 +08:00
extra_isos.py Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
image_build.py Break too long line 2020-04-06 14:20:47 +02:00
image_checksum.py Format code base with black 2020-02-05 17:35:47 +08:00
init.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
live_images.py Fix typos 2020-06-24 14:16:42 +02:00
livemedia_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
osbs.py Fix formatting issues 2020-02-07 16:16:20 +08:00
osbuild.py osbuild: use task result to get build info 2020-11-30 09:57:48 +01:00
ostree_installer.py Retry ostree installer task on losetup error 2020-08-05 10:58:04 +02:00
ostree.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
phases_metadata.py Format code base with black 2020-02-05 17:35:47 +08:00
repoclosure.py Delete outdated comments 2020-04-22 17:14:51 +08:00
test.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
weaver.py Format code base with black 2020-02-05 17:35:47 +08:00