A first pipeline
A pipeline lives in .hod/pipeline.yaml at the root of your project. The smallest one:
Every job names the container image it runs in. There's no default "runner VM" with tools preinstalled: pick an image that has your toolchain (node:22, golang:1.23, rust:1.90, python:3.13). Steps run in order in one container, with bash -eo pipefail if the image has bash, else sh -e. The job starts in /workspace, which holds a copy of your project.
A pipeline for a Node project with tests, a build and a release step:
What each part does:
onstarts runs for pushes tomain, tags starting withv, and pull requests (Events and conditions).varsare named CEL expressions, computed once per run, andifdecides whether a job or step runs. Every expression is type-checked when the pipeline compiles, so a typo is an error fromhod validate, not a job that silently never runs.needsorders jobs:buildruns aftertestsucceeded. Jobs withoutneedsbetween them run at the same time (Jobs and steps).filespassesdist/to the jobs that needbuild. Nothing else passes between jobs but typed outputs: each job starts from a fresh copy of your project (Files and outputs).envsets variables.${{ … }}puts an expression's value into one; scripts never get expressions pasted into them, so a branch name can't inject shell code.cache: [npm]keeps npm's downloads between runs, andcache.inputsskipsnpm testwhen none of its inputs changed (Caching).
Next: run it on your machine (Running locally), then the Writing pipelines pages for each part, starting with Events and conditions.