fix(ci): keep non110 runner sources 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 36s
CD Pipeline / build-and-deploy (push) Failing after 2m36s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
CD Pipeline / post-deploy-checks (push) Has been skipped
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Failing after 16s
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 36s
CD Pipeline / build-and-deploy (push) Failing after 2m36s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
CD Pipeline / post-deploy-checks (push) Has been skipped
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Failing after 16s
This commit is contained in:
@@ -151,6 +151,22 @@ def test_non110_cd_lane_keeps_pressure_guard_fail_hard_with_bounded_load_thresho
|
||||
assert "warn-only" in text
|
||||
|
||||
|
||||
def test_non110_runner_keepalive_sources_stay_on_controlled_runtime_profile() -> None:
|
||||
text = _workflow_text()
|
||||
expected_sources = [
|
||||
"ops/runner/check-awoooi-non110-runner-readiness.sh)",
|
||||
"ops/runner/install-awoooi-non110-runner-user-service.sh)",
|
||||
"ops/runner/test_check_awoooi_non110_runner_readiness.py)",
|
||||
"ops/runner/test_install_awoooi_non110_runner_user_service.py)",
|
||||
"../../ops/runner/check-awoooi-non110-runner-readiness.sh",
|
||||
"../../ops/runner/install-awoooi-non110-runner-user-service.sh",
|
||||
"../../ops/runner/test_check_awoooi_non110_runner_readiness.py",
|
||||
"../../ops/runner/test_install_awoooi_non110_runner_user_service.py",
|
||||
]
|
||||
for source in expected_sources:
|
||||
assert source in text
|
||||
|
||||
|
||||
def test_harbor_watchdog_exposes_controlled_check_and_one_shot_repair() -> None:
|
||||
text = (ROOT / "scripts/reboot-recovery/harbor-watchdog.sh").read_text(
|
||||
encoding="utf-8"
|
||||
|
||||
Reference in New Issue
Block a user