MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / workflow_default

Function workflow_default

test/mz-debug/mzcompose.py:34–50  ·  view source on GitHub ↗
(c: Composition, parser: WorkflowArgumentParser)

Source from the content-addressed store, hash-verified

32
33
34def workflow_default(c: Composition, parser: WorkflowArgumentParser) -> None:
35 c.up("materialized", Service("mz-debug", idle=True))
36 c.invoke("cp", "mz-debug:/usr/local/bin/mz-debug", ".")
37 container_id = c.container_id("materialized")
38 if container_id is None:
39 raise ValueError("Failed to get materialized container ID")
40
41 spawn.runv(
42 [
43 "./mz-debug",
44 "emulator",
45 "--docker-container-id",
46 container_id,
47 "--mz-connection-url",
48 "postgres://mz_system@localhost:6877/materialize",
49 ]
50 )

Callers

nothing calls this directly

Calls 5

ServiceClass · 0.90
ValueErrorClass · 0.85
container_idMethod · 0.80
upMethod · 0.45
invokeMethod · 0.45

Tested by

no test coverage detected