Koji: expose osbuild artifact information in image metadata
Expose the osbuild information used to produce the image, in the image extra metadata under the `osbuild_artifact` property. This information will get included in the image / build extra metadata and make it explicit how to reproduce the image build using osbuild and the attached manifest. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
5b414a4516
commit
e63472ef44
3 changed files with 12 additions and 2 deletions
|
|
@ -121,6 +121,8 @@ type ImageExtraInfo struct {
|
|||
Arch string `json:"arch"`
|
||||
// Boot mode of the image
|
||||
BootMode string `json:"boot_mode,omitempty"`
|
||||
// Configuration used to prouce this image using osbuild
|
||||
OSBuildArtifact *target.OsbuildArtifact `json:"osbuild_artifact,omitempty"`
|
||||
// Results from any upload targets associated with the image
|
||||
// except for the Koji target.
|
||||
UploadTargetResults []*target.TargetResult `json:"upload_target_results,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue