Worker/OSBuild: copy boot mode information to job result
Copy the image boot mode information from the job options to the job result, so that the `KojiFinalize` job can later access it and import as an extra metadata to Koji. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
5fd5cedd08
commit
6dbc3c200e
1 changed files with 3 additions and 0 deletions
|
|
@ -360,6 +360,9 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
|
|||
// copy pipeline info to the result
|
||||
osbuildJobResult.PipelineNames = jobArgs.PipelineNames
|
||||
|
||||
// copy the image boot mode to the result
|
||||
osbuildJobResult.ImageBootMode = jobArgs.ImageBootMode
|
||||
|
||||
// get exports for all job's targets
|
||||
exports := jobArgs.OsbuildExports()
|
||||
if len(exports) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue