Skip to main content

run

Function run 

Source
pub async fn run(
    graph: PipelineGraph,
    repo_root: PathBuf,
    parallelism: usize,
    runner_registry: Arc<RunnerRegistry>,
    renderer: Box<dyn OutputRenderer>,
) -> Result<i32>
Expand description

Entry point: run a parsed pipeline locally end-to-end. Returns the overall exit code (0 = success, crate::error::EXIT_BUILD_FAILED when any step exited non-zero).

ยงErrors

Returns an error if the source archive cannot be built, the Docker daemon is unreachable, or any scheduler-level failure occurs. Non-zero step exit codes are surfaced via the returned i32, not as an Err.