fix(cd): keep dr escrow checklist 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 24s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (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 24s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -316,6 +316,10 @@ jobs:
|
||||
;;
|
||||
scripts/ci/wait-host-web-build-pressure.sh)
|
||||
;;
|
||||
scripts/reboot-recovery/dr-escrow-evidence-checklist.py)
|
||||
;;
|
||||
scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py)
|
||||
;;
|
||||
*)
|
||||
CONTROLLED_RUNTIME_TEST_PROFILE=0
|
||||
;;
|
||||
@@ -423,6 +427,8 @@ jobs:
|
||||
src/services/product_awoooi_manifest_standard.py \
|
||||
src/services/platform_operator_service.py \
|
||||
src/services/telegram_gateway.py
|
||||
python3.11 -m py_compile \
|
||||
../../scripts/reboot-recovery/dr-escrow-evidence-checklist.py
|
||||
DATABASE_URL="${DATABASE_URL:-postgresql+asyncpg://ci:ci@localhost/ci}" \
|
||||
PYTHONFAULTHANDLER=1 python3.11 -m pytest \
|
||||
tests/test_agent_replay_normalizer.py \
|
||||
@@ -440,6 +446,7 @@ jobs:
|
||||
../../ops/runner/test_read_public_gitea_actions_queue.py \
|
||||
../../ops/runner/test_cd_controlled_runtime_profile.py \
|
||||
../../ops/runner/test_verify_awoooi_non110_cd_closure.py \
|
||||
../../scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py \
|
||||
-v --tb=short -x -p no:cacheprovider \
|
||||
2>&1 | tee /tmp/pytest-output.txt; PYTEST_EXIT=${PIPESTATUS[0]}
|
||||
else
|
||||
|
||||
@@ -71,6 +71,18 @@ def test_ai_autonomous_runtime_control_stays_on_controlled_runtime_profile() ->
|
||||
assert source in text
|
||||
|
||||
|
||||
def test_dr_escrow_checklist_stays_on_controlled_runtime_profile() -> None:
|
||||
text = _workflow_text()
|
||||
expected_sources = [
|
||||
"scripts/reboot-recovery/dr-escrow-evidence-checklist.py)",
|
||||
"scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py)",
|
||||
"../../scripts/reboot-recovery/dr-escrow-evidence-checklist.py",
|
||||
"../../scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py",
|
||||
]
|
||||
for source in expected_sources:
|
||||
assert source in text
|
||||
|
||||
|
||||
def test_controlled_runtime_skips_b5_before_docker_socket_use() -> None:
|
||||
text = _workflow_text()
|
||||
b5_start = text.index("- name: Integration Tests (B5")
|
||||
|
||||
Reference in New Issue
Block a user