pungi/pungi
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
..
compose_metadata Format code base with black 2020-02-05 17:35:47 +08:00
ostree ostree: set umask to be more permissive for ostree operations 2020-04-17 09:20:24 +02:00
phases osbuild: use task result to get build info 2020-11-30 09:57:48 +01:00
scripts Add --respin-of argument. 2020-11-19 12:26:38 +00:00
wrappers Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
checks.py Fix config validation for osbuild 2020-11-25 14:14:18 +01:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Add --respin-of argument. 2020-11-19 12:26:38 +00:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
gather.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
gather_dnf.py Fix flake8 issues 2020-05-26 11:49:50 +02:00
graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
ks.py Format code base with black 2020-02-05 17:35:47 +08:00
linker.py Hardlink or copy scratch builds always 2020-08-07 18:00:19 +08:00
media_split.py Format code base with black 2020-02-05 17:35:47 +08:00
metadata.py Include images info in composeinfo.json 2020-10-14 17:57:30 +08:00
module_util.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
multilib_dnf.py Format code base with black 2020-02-05 17:35:47 +08:00
multilib_yum.py Format code base with black 2020-02-05 17:35:47 +08:00
notifier.py notification: Add compose_path into the messages 2020-06-09 06:40:26 +00:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py Allow including scratch module builds 2020-07-17 09:08:36 +08:00
profiler.py Format code base with black 2020-02-05 17:35:47 +08:00
runroot.py Retry ostree installer task on losetup error 2020-08-05 10:58:04 +02:00
util.py util: Refactor retry function 2020-09-01 12:41:06 +00:00