docs: add installation and maintenance guide

This commit is contained in:
Dennis Juhler Aagaard
2026-09-24 18:31:43 +02:00
parent 529c6b5982
commit dd13297b5f
7 changed files with 242 additions and 0 deletions
+21
View File
@@ -50,6 +50,27 @@ def test_repository_hostname_derivation() -> None:
assert repository_id == "0031621f"
assert f"{repository_id}-stelloauth" == "0031621f-stelloauth"
def test_documentation_contract() -> None:
documentation = "\n".join(
(ROOT / path).read_text(encoding="utf-8")
for path in ("README.md", "stelloauth/README.md", "stelloauth/DOCS.md")
)
for required_text in (
REPOSITORY_URL,
"http://0031621f-stelloauth:8080/worker",
"http://192.168.1.20:8080/worker",
"Brand: Opel",
"Country: DK",
"v0.6.0",
"0.5.10",
"CloakBrowser Binary License",
"approximately 4 GB free",
"Login-flow RAM: not measured without real MyOpel credentials.",
):
assert required_text in documentation
assert "deaktivér porttilknytningen igen" in documentation
def test_translations_cover_every_option() -> None:
keys = set(load_yaml("stelloauth/config.yaml")["options"])
for language in ("da", "en"):