debian-forge-composer/internal/kojiapi
Achilleas Koutsou 9aef7bfc47 osbuild-worker: attach pipeline names to jobs
Pipeline names are added to each job before adding to the queue. When a
job is finished, the names are copied to the Result object as well. This
is done for both OSBuild and Koji jobs.

The pipeline names in the result are primarily used to separate package
lists into build and payload/image packages in two cases:
1. Koji builds: for reporting the build root and image package lists to
   Koji (in Koji finalize).
2. Cloud API (v1 and v2): for reporting the payload packages in the
   metadata request.

The pipeline names are also used to print the system log output in the
order in which pipelines are executed. This still isn't used when
printing the OSBuild Result (osbuild2.Result.Write()) and we still rely
on sorting by pipeline name
(see https://github.com/osbuild/osbuild-composer/pull/1330).
2021-11-16 09:49:37 +01:00
..
api kojiapi: Add endpoint for retrieving job manifest 2021-01-16 13:39:30 +01:00
server.go osbuild-worker: attach pipeline names to jobs 2021-11-16 09:49:37 +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 kojiapi: use osbuild2.Result in test 2021-11-16 09:49:37 +01:00