sync @ 15319b5

This commit is contained in:
2026-10-12 21:42:28 +07:00
parent ec9bf8219f
commit 5661a9f299
2 changed files with 27 additions and 1 deletions
+13
View File
@@ -499,6 +499,19 @@ else
bad "verify-phase2: pesan FAIL belum menampilkan kode HTTP + penyebab"
fi
# ─── 0w. bootstrap: uji MENDALAM katalog StarRocks (bukan hanya registrasi) ───
# CREATE EXTERNAL CATALOG + SHOW CATALOGS hanya sisi StarRocks (REST dihubungi lazy)
# → keduanya bisa [OK] walau Nessie TIDAK menyajikan Iceberg REST. Bootstrap wajib
# menjalankan `SHOW DATABASES FROM iceberg_catalog` sebagai bukti konektivitas.
_bw=1
grep -qF 'SHOW DATABASES FROM iceberg_catalog;' "${DEPLOY_DIR}/bootstrap.sh" || _bw=0
grep -qF 'uji metadata iceberg_catalog lolos' "${DEPLOY_DIR}/bootstrap.sh" || _bw=0
if [[ "${_bw}" == "1" ]]; then
ok "bootstrap: uji mendalam katalog StarRocks (SHOW DATABASES FROM iceberg_catalog)"
else
bad "bootstrap: tak ada uji mendalam katalog StarRocks (bisa false-green saat Nessie tanpa REST)"
fi
# ─── 1. generate ────────────────────────────────────────────────────────────
if ! python3 "${DEPLOY_DIR}/lib/cluster/generate.py" render \
"${INVENTORY}" "${DEPLOY_DIR}/docker-compose.yml" "${DEPLOY_DIR}/.env" \