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
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:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user