| |
@@ -422,7 +422,11 @@
|
| |
build.transition(db_session, conf, state=models.BUILD_STATES["build"])
|
| |
db_session.add(build)
|
| |
db_session.commit()
|
| |
- return []
|
| |
+ # Return a KojiRepoChange message so that the build can be transitioned to done
|
| |
+ # in the repos handler
|
| |
+ from module_build_service.scheduler.handlers.repos import done as repos_done_handler
|
| |
+ events.scheduler.add(repos_done_handler, ("fake_msg", builder.module_build_tag["name"]))
|
| |
+ return
|
| |
|
| |
log.debug("Starting build batch 1")
|
| |
build.batch = 1
|
| |
This change addresses an issue where builds can get stuck in the build state.
Without triggering component builds, there is nothing else to spur further action, hence the fake repo message.