You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
muster setup --deploy-cmd api="./k8s-deploy.sh api" makes deploy.sh run your existing deploy script from the project root ("deploy_cmd" → MUSTER_DEPLOY_CMD), while health, rollback and logs keep the stack's hooks. Setup finds deploy.sh, *-deploy.sh, deploy/*.sh, and Makefile/justfile deploy targets: the wizard offers them and --scan suggests them (deploy_scripts in --dry-run --json). (#19)
Optional "k8s": {"kubeconfig": "~/.kube/config"}, per service or top level. It is exported as KUBECONFIG to hooks and used by muster's own kubectl calls (logs, failure diagnosis, status, rollouts, preflight, doctor, setup scan); an inherited KUBECONFIG stays the fallback. An unreadable kubeconfig (k3s's root-only /etc/rancher/k3s/k3s.yaml) gets a clear hint, and muster cloud connect offers to write a systemd drop-in so muster-agent sees KUBECONFIG too. (#18)
Hooks that need sudo: preflight warns before a deploy with no terminal when a hook calls sudo and sudo would ask for a password. muster explain recognizes sudo: a terminal is required / a password is required / no tty present, and the docs show a narrow /etc/sudoers.d/<project>-deploy NOPASSWD rule instead of storing a password. (#28)
Hooks always run from the project root with MUSTER_PROJECT_DIR exported (the remote project_dir for SSH services).
Changed
muster deploy run from the shell returns to the shell instead of showing "Press any key" and then opening the dashboard; q quits the bash dashboard. (#25)
A rolling deploy whose health check fails is logged "status":"unhealthy" (with "health":"unhealthy") instead of ok; insights counts it as a failure. Additive to the --json contract. (#21)
Hook approval covers every file under .muster/hooks/, including shared helpers such as _common.sh, lib/, nested directories and non-.sh files: changing one needs re-approval before any service deploys, rolls back or restarts. hooks status marks them (shared); --json adds "shared" and _shared/ keys. Existing approvals stay valid; shared files are asked about once. (#29)
Fixed
muster logs <svc> --tail N (used by Fleet Cloud and muster ask) runs a k8s service's own logs.sh instead of calling kubectl itself (--json reports source: "hook"); kubectl is used only when there is no hook or it is the unedited generated one. A failing hook now reports its exit code. (#17)
muster hooks status --json is about 160× faster (28 s → about 175 ms on a 5-service k8s project), so muster-tui no longer stalls before a deploy. The deploy gate's danger scan also ran for single-service deploys only; it now covers every selected service. (#20)
muster explain and the dashboard Next step order a failure against later deploys by position in the event log, so a failure and a fix in the same second are no longer confused. (#21)
A built-in fix from muster explain --fix or the failure menu re-approves the muster.json it changed (only when it was approved just before), so the next deploy doesn't stop for approval. (#22)
"Likely cause" and "Try:" lines wrap at the terminal width (max 80) with a hanging indent, without splitting the suggested command. (#23)
muster setup --update shows each service's health from the merged muster.json instead of "disabled". (#24)
muster cloud connect --yes on servers without systemd or launchd starts muster-agent in the background and waits for it to connect. (#26)
Dev-stack hooks never stop a PID from a stale PID file that belongs to muster or the session running it (possible after a container restart), and a terminal resize no longer makes a running hook look failed when muster uses its own timeout fallback. (#27)
SSH remote hooks: exported variables and the cd to project_dir were joined onto one line, so with two or more variables the values were wrong and the cd never ran.