fix(cd): keep backup freshness 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 37s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 1s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Failing after 1m14s
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 37s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 1s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Failing after 1m14s
This commit is contained in:
@@ -538,10 +538,18 @@ jobs:
|
||||
;;
|
||||
scripts/ci/wait-host-web-build-pressure.sh)
|
||||
;;
|
||||
# 2026-07-01 Codex: backup freshness/readback scripts are
|
||||
# covered by shell syntax checks and focused exporter tests.
|
||||
# Keep them off B5 so a metadata/script recovery patch does not
|
||||
# require the host Docker socket.
|
||||
scripts/backup/backup-awoooi-frequent.sh)
|
||||
;;
|
||||
scripts/backup/gitea-repo-bundle-backup.sh)
|
||||
;;
|
||||
scripts/ops/backup-health-textfile-exporter.py)
|
||||
;;
|
||||
scripts/ops/tests/test_backup_health_textfile_exporter.py)
|
||||
;;
|
||||
scripts/reboot-recovery/deploy-to-110.sh)
|
||||
;;
|
||||
scripts/reboot-recovery/deploy-to-188.sh)
|
||||
@@ -778,6 +786,7 @@ jobs:
|
||||
../../scripts/reboot-recovery/diagnose-110-ssh-publickey-auth.sh \
|
||||
../../scripts/reboot-recovery/repair-110-ssh-publickey-auth-local.sh \
|
||||
../../scripts/reboot-recovery/verify-cold-start-monitor-deploy.sh \
|
||||
../../scripts/backup/backup-awoooi-frequent.sh \
|
||||
../../scripts/backup/gitea-repo-bundle-backup.sh
|
||||
DATABASE_URL="${DATABASE_URL:-postgresql+asyncpg://ci:ci@localhost/ci}" \
|
||||
PYTHONFAULTHANDLER=1 python3.11 -m pytest \
|
||||
@@ -824,6 +833,7 @@ jobs:
|
||||
../../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/ops/tests/test_backup_health_textfile_exporter.py \
|
||||
../../scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py \
|
||||
../../scripts/reboot-recovery/tests/test_cold_start_monitor_bounded_probes.py \
|
||||
../../scripts/reboot-recovery/tests/test_reboot_auto_recovery_slo_installer.py \
|
||||
|
||||
@@ -100,6 +100,20 @@ def test_workflow_secret_transport_sources_stay_on_controlled_runtime_profile()
|
||||
assert source in text
|
||||
|
||||
|
||||
def test_backup_freshness_sources_stay_on_controlled_runtime_profile() -> None:
|
||||
text = _workflow_text()
|
||||
expected_sources = [
|
||||
"scripts/backup/backup-awoooi-frequent.sh)",
|
||||
"scripts/backup/gitea-repo-bundle-backup.sh)",
|
||||
"scripts/ops/backup-health-textfile-exporter.py)",
|
||||
"scripts/ops/tests/test_backup_health_textfile_exporter.py)",
|
||||
"../../scripts/backup/backup-awoooi-frequent.sh",
|
||||
"../../scripts/ops/tests/test_backup_health_textfile_exporter.py",
|
||||
]
|
||||
for source in expected_sources:
|
||||
assert source in text
|
||||
|
||||
|
||||
def test_log_controlled_writeback_consumer_apply_stays_on_controlled_runtime_profile() -> None:
|
||||
text = _workflow_text()
|
||||
expected_sources = [
|
||||
|
||||
Reference in New Issue
Block a user