feature: dynamicallt allocate port and save in service registry. Update iocs overview on service creation
Deploy bin / deploy (push) Successful in 5s
Deploy agebd python package / deploy (push) Successful in 2s

This commit is contained in:
Benjamin Labrecque
2026-07-08 14:40:18 +02:00
parent 9c0709989e
commit 6960b10ce0
13 changed files with 142 additions and 34 deletions
+4 -2
View File
@@ -12,13 +12,15 @@ REPO_ROOT = get_git_root(__file__)
@service.command()
def add(
name: str = typer.Option(..., "--name", "-n"),
ioc_port: int = typer.Option(..., "--ioc-port", "-p"),
user: str = typer.Option(..., "--user", "-u"),
ioc_description: str = typer.Option(
..., "--ioc-description", "-d", help="See <repo-root>/docs/ioc/ioc_overview.md for examples"
),
):
init_logging()
ServiceCreator(
ioc_port=ioc_port, # TODO: read from registry
user=user, # TODO: read from 'whoami'?
ioc_description=ioc_description,
).add_service(name=name)