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 psworks without sudo). - git. Projects don't have to be git repositories, but
hod local runuses 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):
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:
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.
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 runto 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.