For AI agents: the complete documentation index is available at https://docs.hod.sh/llms.txt, the full documentation bundle is available at https://docs.hod.sh/llms-full.txt, and this page is available as Markdown at https://docs.hod.sh/index.md.

Install

Hod is a CI/CD system in early development. Its server isn't ready for other people yet, but the hod command line already runs Hod pipelines on your machine, in Docker, with the same engine the server uses. This guide is for the first people trying the pipeline format: write a .hod/pipeline.yaml for a project of yours, run it, and tell us what was hard to express (Feedback).

The format is version 0. It will change, partly because of what you tell us.

You need:

  • Linux, on x86_64 or arm64. There are no macOS or Windows binaries yet.
  • Docker, running, and usable by your user (docker ps works without sudo).
  • git. Projects don't have to be git repositories, but hod local run uses git for its defaults: the branch, the commit, and the changed files for --base.
  • A GitHub account with access to hod-ci/hod. The repository is private for now, so downloads need you to be logged in.

With the GitHub CLI logged in (gh auth login):

gh release download -R hod-ci/hod -p install.sh -O - | sh

Without it, use a token that can read the repository (a fine-grained token with read access to its contents, or a classic one with repo) and curl:

export GITHUB_TOKEN=<token>
curl -fsSL -H "Authorization: Bearer $GITHUB_TOKEN" -H 'Accept: application/vnd.github.raw' \
  https://api.github.com/repos/hod-ci/hod/contents/install.sh | sh

install.sh downloads the newest release for your machine, checks its SHA-256 against the release's SHA256SUMS, and puts hod in ~/.local/bin. It says so if that directory isn't on your PATH. HOD_VERSION=0.0.1-alpha.1 installs a given version, and HOD_INSTALL_DIR puts it elsewhere. Run it again to update.

hod version

The binaries are static, so they run on any Linux distribution.

Feedback

The pipeline format is the thing that's hardest to change later, so this is the feedback we want most:

  • what you tried to express and couldn't, or could only awkwardly;
  • what you wrote, and what was confusing about it: an error message, a key's name, how CEL works;
  • what you expected hod local run to do and what it did.

Open an issue with the Pipeline format template on hod-ci/hod. Pasting your pipeline helps most. Bugs in hod itself are welcome too.