Skip to content


cdev template diagram


A stack template is a yaml file that tells which units to run and how. It is a core resource that makes for its flexibility. Stack templates use Go template language to allow you customise and select the units you want to run.

The stack template's config files are stored within the stack template directory that could be located either locally or in a Git repo. reads all _./*.yaml files from the directory (non-recursively), renders a stack template with the project's data, parse the yaml file and loads units - the most primitive elements of a stack template.

A stack template represents a yaml structure with an array of different invocation units. Common view:

  - unit1
  - unit2
  - unit3

Stack templates can utilize all kinds of Go templates and Sprig functions (similar to Helm). Along with that it is enhanced with functions like insertYAML that could pass yaml blocks directly.