Quick start
Hod's server isn't ready for other people yet. This is how it runs today, for development and for early testing.
A Hod install has three parts:
hod-server: plans runs, schedules jobs, keeps logs and caches, and talks to forges.- Postgres: all of the server's state.
- Runners (
hod-runner, started withhod runner start): run the jobs, on any machine that can reach the server.
Start a run by hand:
In a checkout of a repository the server builds, the CLI works out the project from the origin remote, and the branch and commit from git, so most commands need no arguments:
Outside a checkout, a command that needs a run offers a list of recent ones on a terminal, and when piped says which to pass; it never waits for input.
hod run trigger asks the server for a manual run. The server fetches .hod/pipeline.yaml at that commit, compiles it, and stores the run with its jobs. The project is created on the first trigger for a repository URL, and the ref defaults to the repository's default branch. hod login saves the server and its token (mode 0600) and makes it the current server; hod logout forgets it. --server or HOD_SERVER, and HOD_TOKEN, win over what's saved, so CI sets those instead. Scripts can log in with echo $TOKEN | hod login URL --with-token.
Reporting a vulnerability
Report vulnerabilities in Hod privately, as SECURITY.md describes, not in a public issue. A Hod server doesn't serve a /.well-known/security.txt of its own: the admin is the contact for their install, so serve one at your proxy if you want one.