Implements Phase A2 of plans/implementation-plan-A-B.md: - commands/wait.py -> wait-ready (replaces Wait-VMReady.ps1) - commands/vm.py -> vm remove + vm cleanup (replaces Remove-BuildVM.ps1, Cleanup-OrphanedBuildVMs.ps1); cleanup accepts injected VmBackend (Phase C ESXi hook preserved) - commands/monitor.py -> monitor disk + monitor runner (replaces Watch-DiskSpace.ps1, Watch-RunnerHealth.ps1) - commands/report.py -> report job (replaces Get-CIJobSummary.ps1) Each PS script reduced to a 3-line shim that delegates to the Python CLI and preserves \0. Tests: 69 pytest cases across new test_commands_*.py modules; ruff clean, mypy --strict clean, coverage 74.5% (>=70 gate).
11 lines
398 B
Python
11 lines
398 B
Python
"""Sub-command modules for the ``ci_orchestrator`` CLI.
|
|
|
|
Each module exposes one or more :class:`click.Command` instances that the
|
|
top-level :mod:`ci_orchestrator.__main__` registers on the root group.
|
|
Phase A2 ports the leaf PowerShell scripts (Wait-VMReady, Remove-BuildVM,
|
|
Cleanup-OrphanedBuildVMs, Watch-DiskSpace, Watch-RunnerHealth,
|
|
Get-CIJobSummary).
|
|
"""
|
|
|
|
from __future__ import annotations
|