docs(release): add runtime build host runbook
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled

This commit is contained in:
Xiaoxia AI
2026-06-22 15:14:44 +08:00
parent 7716371c8d
commit 8a4cab3cc7
2 changed files with 101 additions and 0 deletions
+10
View File
@@ -154,6 +154,16 @@ def test_subscription_api_is_not_wired_to_ui_until_backend_exists():
assert importers == []
def test_build_host_runbook_requires_off_production_runtime_builds():
runbook = Path("docs/BUILD-HOST-RUNBOOK.md").read_text(encoding="utf-8")
assert "Production host currently runs Gitea" in runbook
assert "scripts/build_release_images.sh v0.1.5" in runbook
assert "runtime-images-v0.1.5.tar" in runbook
assert "The deploy must fail if the runtime image tar is missing" in runbook
assert "python scripts/smoke_public_upload_flow.py" in runbook
def test_deployment_docs_forbid_production_runtime_builds():
docs = Path("docs/DEPLOYMENT.md").read_text(encoding="utf-8")