docs(release): add runtime build host runbook
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user