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
| Field | Meaning |
|---|---|
name / provider | Deployment identity and selected provider label. |
build | Ordered Step values. |
deps | Runtime packages and optional versions/architectures. |
commands | Named runtime commands. |
cwd / env | Runtime working directory and environment. |
prepare | One-time commands after build and before serving. |
mounts / volumes | Artifact and persistent filesystem mappings. |
services | Postgres, 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.