Canopy Host / Pipelines

The pipeline is code. The execution is a graph.

Write a trusted canopy.pipeline.ts using @canopy/ci. Canopy compiles it into a graph of work and dependencies before scheduling execution.

Actual authoring model

Declare the relationship. Let the runner execute it.

This example uses the same definePipeline, step.source(), and dependency handles as Canopy’s own corporate pipeline. The inputs edge makes test wait for build.

import { definePipeline } from '@canopy/ci';

export default definePipeline(({ step }) => {
  const src = step.source();
  const build = step('build', {
    image: BUN_IMAGE,
    run: 'bun run build',
    inputs: [src],
  });
  step('test', {
    image: BUN_IMAGE,
    run: 'bun run test',
    inputs: [build],
  });
});
Execution model

The graph is inspectable before a command runs.

Compilation separates authored structure from actual work. The graph gives the planner concrete nodes, inputs, and dependency edges.

SourceRepository revision
CompilePipeline graph
ExecuteNode outcomes
GateBuild or deploy
01

Explicit dependencies

Inputs define edges, so independent work can be considered separately.

02

Run history

Node state, logs, and outcomes stay with the pipeline run.

03

Deployment gates

Required steps can protect a configured Host deployment path.

04

Artifact lineage

Build output can be tied to an immutable artifact and release.

A distinct path

Native execution or connected history.

Canopy Pipelines runs work through Host’s pipeline engine. Canopy Connect imports and correlates existing CI/CD records. Teams can understand external work without pretending Canopy executed it.

See the Host delivery model ↗
---