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:
@@ -488,10 +488,18 @@ jobs:
|
||||
;;
|
||||
ops/runner/read-public-gitea-actions-queue.py)
|
||||
;;
|
||||
ops/runner/check-awoooi-non110-runner-readiness.sh)
|
||||
;;
|
||||
ops/runner/install-awoooi-non110-runner-user-service.sh)
|
||||
;;
|
||||
ops/runner/test_read_public_gitea_actions_queue.py)
|
||||
;;
|
||||
ops/runner/test_cd_controlled_runtime_profile.py)
|
||||
;;
|
||||
ops/runner/test_check_awoooi_non110_runner_readiness.py)
|
||||
;;
|
||||
ops/runner/test_install_awoooi_non110_runner_user_service.py)
|
||||
;;
|
||||
ops/runner/test_check_awoooi_110_controlled_cd_lane_readiness.py)
|
||||
;;
|
||||
ops/runner/test_verify_awoooi_non110_cd_closure.py)
|
||||
@@ -725,6 +733,8 @@ jobs:
|
||||
python3.11 -c "import yaml; yaml.safe_load(open('../../ops/monitoring/alerts-unified.yml')); print('alerts-unified YAML OK')"
|
||||
bash -n \
|
||||
../../ops/runner/check-awoooi-110-controlled-cd-lane-readiness.sh \
|
||||
../../ops/runner/check-awoooi-non110-runner-readiness.sh \
|
||||
../../ops/runner/install-awoooi-non110-runner-user-service.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 \
|
||||
@@ -780,6 +790,8 @@ jobs:
|
||||
tests/test_trust_drift_watchdog.py \
|
||||
../../ops/runner/test_read_public_gitea_actions_queue.py \
|
||||
../../ops/runner/test_cd_controlled_runtime_profile.py \
|
||||
../../ops/runner/test_check_awoooi_non110_runner_readiness.py \
|
||||
../../ops/runner/test_install_awoooi_non110_runner_user_service.py \
|
||||
../../ops/runner/test_check_awoooi_110_controlled_cd_lane_readiness.py \
|
||||
../../ops/runner/test_verify_awoooi_non110_cd_closure.py \
|
||||
../../scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py \
|
||||
|
||||
@@ -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