kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 18:09:38 +02:00
parent 88e855dc9e
commit f9a9af3271
2 changed files with 142 additions and 2 deletions

View file

@ -7,6 +7,7 @@ Business logic for project deployments:
- Dependency chain traversal via project_links
"""
import shlex
import sqlite3
import subprocess
import time
@ -50,7 +51,7 @@ def _build_ssh_cmd(project: dict, command: str) -> list[str]:
proxy_jump = project.get("ssh_proxy_jump")
deploy_path = project.get("deploy_path")
full_cmd = f"cd {deploy_path} && {command}" if deploy_path else command
full_cmd = f"cd {shlex.quote(deploy_path)} && {command}" if deploy_path else command
cmd = ["ssh"]
if ssh_key: