debian-forge-composer/internal/kojiapi
Ondřej Budai 00cd4cb346 api/koji: return pending status until all jobs are finished
Previously, the compose status returned failure as soon as possible.
koji-osbuild considers the job as done when its status == failure and proceeds
with uploading the logs to koji and marking the job as failed. However, not
all osbuild-composer jobs might be done at this point so the logs might be
incomplete making the debugging hard.

This commit changes the behaviour: Now, the compose status is pending until
ALL jobs belonging to it are finished.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2020-12-02 10:27:31 +01:00
..
api kojiapi/logs: adjust for multi-build composes 2020-11-11 18:16:42 +01:00
server.go api/koji: return pending status until all jobs are finished 2020-12-02 10:27:31 +01:00
server_internal_test.go koji: use nvra as the filename for images 2020-10-27 19:01:30 +00:00
server_test.go worker/server: move it to the style of koji server 2020-11-19 17:39:24 +00:00