put RUNNER_DICT in runner.py
This commit is contained in:
parent
8835243577
commit
a2f2876e45
1 changed files with 11 additions and 0 deletions
|
|
@ -7,6 +7,17 @@ from dotenv import dotenv_values
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
from src.dirmanager import DirManager
|
from src.dirmanager import DirManager
|
||||||
|
from src.tests_authentik.runner_authentik import RunnerAuthentik
|
||||||
|
from src.tests_nextcloud.runner_nextcloud import RunnerNextcloud
|
||||||
|
from src.tests_wordpress.runner_wordpress import RunnerWordpress
|
||||||
|
|
||||||
|
# Register all runners here. Each .env file with TYPE=authentik will be run with RunnerAuthentik
|
||||||
|
|
||||||
|
RUNNER_DICT: dict[str, type["Runner"]] = {
|
||||||
|
"authentik": RunnerAuthentik,
|
||||||
|
"wordpress": RunnerWordpress,
|
||||||
|
"nextcloud": RunnerNextcloud,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue