Repository navigation
Add a controller-side dry-run deploy preview - #6
Conversation
|
Thank you — this is exactly the shape issue #3 asked for, and fast work. Reviewed and verified locally (CI doesn't auto-run on first-time fork PRs here, so I ran the suite myself): all 15 tests pass, including your new CLI-level test that patches run_fleet/run_ssh/scp_to and asserts none of them fire. I also ran a real dry-run against the demo package by hand — per-board target root, fully rendered unit with no placeholders left, custom install_root honoured. Two design points I particularly like: reading the template out of the package instead of re-rendering it controller-side (so the preview shows what the board will actually get, not a second implementation of it), and keeping board-side rendering during real deploys untouched. Merging now. This will ship in v0.2 — and if you have access to an RK3576 or RK356x board, issues #1/#2 are still hungry for real board reports. |
Summary
Adds a
--dry-runoption torkdeploy deployto preview deployment details for each selected board without performing any remote operations.Changes
--dry-runto the deploy CLI command.Tests
Scope
This change is limited to deployment preview functionality. Existing deployment, installation, and rollback behaviour remains unchanged.
Closes #3