Platform scripts, MCP servers, deployment and docs for the KAB runs
- Scripts to run workflows from a YAML context or run inputs (kab_run_workflow.py, with --input name=@file), store per-project discovery connections, bootstrap agent MCP keys, refresh the KAB token, publish reports and build estate snapshots. - Hyperscaler discovery servers extended in place; cloud-knowledge folded into them. - deploy/crucible-kab-dev.yaml: the Discovery package agent and the Assessment agents. - Platform issue write-ups and current-wiring notes under docs/platform-issues/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ from pathlib import Path
|
||||
import httpx
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1] / "mcp-servers"
|
||||
SERVERS = {"azure-discovery": 8111, "aws-discovery": 8112, "gcp-discovery": 8113, "cloud-knowledge": 8114}
|
||||
SERVERS = {"azure-discovery": 8111, "aws-discovery": 8112, "gcp-discovery": 8113}
|
||||
|
||||
|
||||
def pytest(env: dict, *paths: str) -> int:
|
||||
@@ -54,7 +54,7 @@ def main(argv=None) -> int:
|
||||
env = {**os.environ, "SERVER_DIR": name}
|
||||
own = sorted(str(p.relative_to(ROOT)) for p in (ROOT / name / "tests").glob("test_*.py")
|
||||
if p.name != "test_conformance.py")
|
||||
if pytest(env, "_common/test_contract.py", *own) or conformance(name, SERVERS[name]):
|
||||
if pytest(env, "_common/test_contract.py", "_common/test_knowledge.py", *own) or conformance(name, SERVERS[name]):
|
||||
failed.append(name)
|
||||
print("failed: " + ", ".join(failed) if failed else "all servers passed")
|
||||
return 1 if failed else 0
|
||||
|
||||
Reference in New Issue
Block a user