fix: make Hermes deploy noninteractive
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-10-08 11:51:32 -06:00
parent 76bcf5edd0
commit 48cb0fee93
1 changed files with 4 additions and 2 deletions

View File

@ -5610,8 +5610,10 @@ ENV_EOT
fi
fi
# Install/start the gateway systemd user service (Hermes manages the unit).
"${hermes_home}/hermes-agent/venv/bin/python" "${hermes_home}/hermes-agent/hermes" gateway install
# Install the gateway systemd user service headlessly. Hermes may prompt to
# start the gateway interactively; Jeannie starts/enables it deterministically
# below, so answer no to keep CI/CD runs non-interactive.
printf 'n\n' | "${hermes_home}/hermes-agent/venv/bin/python" "${hermes_home}/hermes-agent/hermes" gateway install
systemctl --user daemon-reload
systemctl --user enable --now hermes-gateway 2>/dev/null || true