release: bump version to 0.81.0
ci / backend (push) Canceled after 0s
ci / frontend (push) Canceled after 0s
ci / delivery (push) Canceled after 0s

This commit is contained in:
linkong committed 2026-11-30 19:39:29 +08:00
1 parent 6d310f4dbe
commit b3d2d9e9f1
156 files changed
+15910 -1385

No files matched your search

+11 -2
View File
@@ -218,10 +218,19 @@ def rollout_services(host, tag, images, services=None):
time.sleep(2)
def check_routes():
for url in (PUBLIC + "/health/ready", PUBLIC + "/api/v1/visualization/geo/summary"):
def check_routes(api_key: str | None = None):
for url in (PUBLIC + "/health/ready", PUBLIC + "/api/v1/client/update-manifest"):
if not isinstance(json.loads(read_url(url)), dict):
raise RuntimeError(f"Unexpected response from {url}")
resolved_key = (
api_key if api_key is not None else os.environ.get("PLANET_DEPLOY_API_KEY", "")
).strip()
if resolved_key:
summary_url = PUBLIC + "/api/v1/visualization/geo/summary"
if not isinstance(
json.loads(read_url(summary_url, headers={"X-API-Key": resolved_key})), dict
):
raise RuntimeError(f"Unexpected response from {summary_url}")
if b"<html" not in read_url(ADMIN + "/earth").lower():
raise RuntimeError("Admin Earth entry did not return HTML")