17 lines
509 B
Python
17 lines
509 B
Python
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
required_docs = [
|
|
"docs/M5_OPERATIONAL_READINESS.md",
|
|
"docs/BUILD_GOVERNANCE.md",
|
|
"docs/CI_CD_SPECIFICATION.md",
|
|
"docs/HEALTHCHECK_CONTRACTS.md",
|
|
"docs/TROUBLESHOOTING_RUNBOOK.md",
|
|
"docs/RELEASE_PROCESS.md",
|
|
"docs/ROLLBACK_AND_RECOVERY.md",
|
|
]
|
|
missing = [p for p in required_docs if not (ROOT / p).exists()]
|
|
if missing:
|
|
raise SystemExit("Missing docs:\n" + "\n".join(missing))
|
|
print("Documentation smoke OK")
|