debian-forge-composer/cmd/osbuild-worker
Tomas Hozza cc1ff1ee1b worker/koji-finalize: handle both osbuild and osbuild-koji results
Adjust the `koji-finalize` job implementation to be able to handle
results from both the `osbuild` and `osbuild-koji` jobs.

In case of `osbuild` job, the result is of type
`worker.OSBuildJobResult` and the important values are stored in the
Koji upload target options. For now assume that there may be only a
single upload target results.

In case of `osbuild-koji` job, the result is of type
`worker.OSBuildKojiJobResult` and the important values are already part
of the structure. Add "Old" suffix to all functions handling this case.
2022-06-10 14:48:18 +01:00
..
jobimpl-depsolve.go osbuild-worker: Correct cast of dnfjson error in depsolve job 2022-06-08 23:07:37 +02:00
jobimpl-koji-finalize.go worker/koji-finalize: handle both osbuild and osbuild-koji results 2022-06-10 14:48:18 +01:00
jobimpl-koji-init.go Relax TCP timeouts for koji connections 2022-02-10 14:58:10 +01:00
jobimpl-osbuild-koji.go Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
jobimpl-osbuild.go worker/osbuild: check errors of all job dependencies 2022-06-10 14:48:18 +01:00
main.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
osbuild.go worker: don't marshal manifest in byte[] from 2022-02-01 20:28:40 +00:00