cloudapi: switch osbuild-koji -> osbuild for Koji build jobs

Switch to using `osbuild` job type with `koji` upload target for Koji
build jobs, instead of using `osbuild-koji` job type.

Modify unit tests accordingly.
This commit is contained in:
Tomas Hozza 2022-05-11 16:37:21 +02:00 committed by Tom Gundersen
parent 09534091a9
commit db2ad7bc5f
4 changed files with 161 additions and 128 deletions

View file

@ -78,7 +78,7 @@ type OSBuildKojiJobResult struct {
PipelineNames *PipelineNames `json:"pipeline_names,omitempty"`
ImageHash string `json:"image_hash"`
ImageSize uint64 `json:"image_size"`
KojiError string `json:"koji_error"`
KojiError string `json:"koji_error"` // not set by any code other than unit tests
JobResult
}