mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 03:08:21 +08:00
Use Builder wrapper instead of KojiModuleBuilder
This commit is contained in:
@@ -77,7 +77,7 @@ def _finalize(config, session, msg, state):
|
||||
# And install the macros.
|
||||
module_name = parent.name
|
||||
tag = parent.koji_tag
|
||||
builder = module_build_service.builder.Builder(parent.owner, module_name, 'koji',
|
||||
builder = module_build_service.builder.Builder(parent.owner, module_name, config.system,
|
||||
config, tag_name=tag)
|
||||
builder.buildroot_connect()
|
||||
# tag && add to srpm-build group
|
||||
|
||||
@@ -118,7 +118,7 @@ def wait(config, session, msg):
|
||||
log.debug("Assigning koji tag=%s to module build" % tag)
|
||||
build.koji_tag = tag
|
||||
|
||||
builder = module_build_service.builder.Builder(build.owner, build.name, 'koji', config,
|
||||
builder = module_build_service.builder.Builder(build.owner, build.name, config.system, config,
|
||||
tag_name=tag)
|
||||
build.buildroot_task_id = builder.buildroot_connect()
|
||||
log.debug("Adding dependencies %s into buildroot for module %s" % (dependencies, module_info))
|
||||
|
||||
@@ -76,7 +76,7 @@ def done(config, session, msg):
|
||||
return
|
||||
|
||||
builder = module_build_service.builder.Builder(module_build.owner, module_build.name,
|
||||
'koji', config, tag_name=tag)
|
||||
config.system, config, tag_name=tag)
|
||||
builder.buildroot_connect()
|
||||
|
||||
# Ok, for the subset of builds that did complete successfully, check to
|
||||
|
||||
Reference in New Issue
Block a user