diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 88673ec6..baa90249 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -512,8 +512,14 @@ jobs: ;; scripts/reboot-recovery/deploy-to-110.sh) ;; + scripts/reboot-recovery/deploy-to-188.sh) + ;; scripts/reboot-recovery/recover-110-control-path-and-harbor-local.sh) ;; + scripts/reboot-recovery/awoooi-startup.sh) + ;; + scripts/reboot-recovery/awoooi-startup.service) + ;; scripts/reboot-recovery/dr-escrow-evidence-checklist.py) ;; scripts/reboot-recovery/post-reboot-owner-response-preflight.py) @@ -718,7 +724,9 @@ jobs: bash -n \ ../../ops/runner/check-awoooi-110-controlled-cd-lane-readiness.sh \ ../../scripts/reboot-recovery/deploy-to-110.sh \ + ../../scripts/reboot-recovery/deploy-to-188.sh \ ../../scripts/reboot-recovery/recover-110-control-path-and-harbor-local.sh \ + ../../scripts/reboot-recovery/awoooi-startup.sh \ ../../scripts/reboot-recovery/install-reboot-auto-recovery-slo-110.sh \ ../../scripts/reboot-recovery/reboot-auto-recovery-host-probe.sh \ ../../scripts/reboot-recovery/reboot-auto-recovery-slo-exporter.sh \ diff --git a/ops/runner/test_cd_controlled_runtime_profile.py b/ops/runner/test_cd_controlled_runtime_profile.py index 1782fae2..1c980ec9 100644 --- a/ops/runner/test_cd_controlled_runtime_profile.py +++ b/ops/runner/test_cd_controlled_runtime_profile.py @@ -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