Phases/osbuild: support passing 'customizations' for image builds
The osbuild Koji plugin supports passing customizations for an image build. This is also supported in the Koji CLI plugin. Some teams want to pass image customizations for images built as part of Pungi composes. Extend the osbuild phase to support passing customizations in the Pungi configuration. Merges: https://pagure.io/pungi/pull-request/1733 Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
209d308e1c
commit
e738f65458
4 changed files with 57 additions and 0 deletions
|
|
@ -159,6 +159,10 @@ class RunOSBuildThread(WorkerThread):
|
|||
if upload_options:
|
||||
opts["upload_options"] = upload_options
|
||||
|
||||
customizations = config.get("customizations")
|
||||
if customizations:
|
||||
opts["customizations"] = customizations
|
||||
|
||||
if release:
|
||||
opts["release"] = release
|
||||
task_id = koji.koji_proxy.osbuildImage(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue