fix(bluesky-pds): exec into renamed 'pds' service (pairs with recipe rename app->pds)
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
The recipe renames its main service app->pds so caddy resolves THIS stack's PDS on the shared proxy (abra drops compose network aliases, so a rename is the robust fix). Update the two exec_in_app calls to service=pds to match. Same assertions.
This commit is contained in:
@ -37,7 +37,7 @@ def _goat_admin(domain: str, args: str) -> str:
|
||||
f'--admin-password "$(cat /run/secrets/pds_admin_password)" '
|
||||
f"--pds-host {PDS_HOST_LOCAL} 2>&1"
|
||||
)
|
||||
return lifecycle.exec_in_app(domain, ["sh", "-c", cmd], timeout=120)
|
||||
return lifecycle.exec_in_app(domain, ["sh", "-c", cmd], service="pds", timeout=120)
|
||||
|
||||
|
||||
def account_did(domain: str) -> str | None:
|
||||
|
||||
@ -46,7 +46,7 @@ def _in_container(domain: str, shell_cmd: str) -> str:
|
||||
"""Run `shell_cmd` inside the PDS app container via exec_in_app (sh -c wrapper)."""
|
||||
# The admin_pw_flag uses $(cat ...) which only the sh inside the container can expand —
|
||||
# callers pass the raw shell command including those substitutions.
|
||||
return lifecycle.exec_in_app(domain, ["sh", "-c", shell_cmd], timeout=120)
|
||||
return lifecycle.exec_in_app(domain, ["sh", "-c", shell_cmd], service="pds", timeout=120)
|
||||
|
||||
|
||||
def _goat_admin(domain: str, args: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user