fix(cd): keep 188 reboot helpers on controlled profile
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 40s
CD Pipeline / build-and-deploy (push) Has started running
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-30 22:47:02 +08:00
parent b474f80c66
commit 7be629d733
2 changed files with 24 additions and 0 deletions

View File

@@ -177,6 +177,22 @@ def test_deploy_to_110_syncs_local_control_path_recovery_helpers() -> None:
assert "/usr/local/bin/check-awoooi-110-controlled-cd-lane-readiness.sh" in text
def test_reboot_recovery_188_helpers_stay_on_controlled_runtime_profile() -> None:
text = _workflow_text()
expected_sources = [
"scripts/reboot-recovery/deploy-to-188.sh)",
"scripts/reboot-recovery/awoooi-startup.sh)",
"scripts/reboot-recovery/awoooi-startup.service)",
"scripts/reboot-recovery/tests/test_188_host_hygiene_checklist.py)",
"../../scripts/reboot-recovery/deploy-to-188.sh",
"../../scripts/reboot-recovery/awoooi-startup.sh",
"../../scripts/reboot-recovery/tests/test_188_host_hygiene_checklist.py",
]
for source in expected_sources:
assert source in text
def test_onboarding_warning_step_template_stays_on_controlled_runtime_profile() -> None:
text = _workflow_text()
assert "onboarding warning-step workflow is" in text