vm: handle waitrepo tasks in kojivmd

When moved there, kojivmd can import it and wait for
regen repos it started.

Related: https://pagure.io/koji/issue/3536
This commit is contained in:
Tomas Kopecek 2022-10-10 10:22:53 +02:00
parent b44a06949d
commit bd95153cb3
4 changed files with 88 additions and 91 deletions

View file

@ -51,10 +51,11 @@ from koji.daemon import SCM, TaskManager
from koji.tasks import ( # noqa: F401
BaseTaskHandler,
MultiPlatformTask,
RestartTask,
RestartVerifyTask,
RestartTask, # handle restarted vm tasks
RestartVerifyTask, # handle restarted vm tasks
ServerExit,
ServerRestart
ServerRestart,
WaitrepoTask, # wait for repo regens spawned by kojivmd
)