mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 19:39:52 +08:00
Remove leftovers from incomplete copr fedmsg implementation
This commit is contained in:
@@ -280,8 +280,3 @@ def wait(config, session, msg):
|
||||
# other backends need this implemented (e.g. COPR)
|
||||
return [module_build_service.messaging.KojiRepoChange(
|
||||
'fake msg', builder.module_build_tag['name'])]
|
||||
|
||||
# We don't have copr implementation finished yet, Let's fake the repo change event,
|
||||
# as if copr builds finished successfully
|
||||
if config.system == "copr":
|
||||
return [module_build_service.messaging.KojiRepoChange('fake msg', build.koji_tag)]
|
||||
|
||||
@@ -121,12 +121,6 @@ def done(config, session, msg):
|
||||
further_work += start_next_batch_build(
|
||||
config, module_build, session, builder)
|
||||
|
||||
# We don't have copr implementation finished yet, Let's fake the repo change event,
|
||||
# as if copr builds finished successfully
|
||||
if config.system == "copr":
|
||||
further_work += [module_build_service.messaging.KojiRepoChange('fake msg', module_build.koji_tag)]
|
||||
return further_work
|
||||
|
||||
else:
|
||||
if has_failed_components:
|
||||
module_build.transition(config, state=models.BUILD_STATES['failed'],
|
||||
|
||||
Reference in New Issue
Block a user