Documentation navigation
Anybuild documentation

Plan Model

The stable public types produced by evaluating an Anybuild definition.

ProjectPlan

A ProjectPlan contains the selected provider, non-default effective configuration, backing services, and the full evaluated Serve value. The types required by consumers are exported under anybuild::plan.

Serve

FieldMeaning
name / providerDeployment identity and selected provider label.
buildOrdered Step values.
depsRuntime packages and optional versions/architectures.
commandsNamed runtime commands.
cwd / envRuntime working directory and environment.
prepareOne-time commands after build and before serving.
mounts / volumesArtifact and persistent filesystem mappings.
servicesPostgres, MySQL, or Redis backing services.

Steps

Public step variants are Run, Copy, Env, Path, Use, Workdir, and WriteFile. Run steps carry optional input/output hints and a group name; Copy steps distinguish project source from bundled runtime assets.