Web UI
The server serves the web UI at its root, http://localhost:8080/ in the quick start. Everything on it stays live as runs change; there's no refresh button.
- The org's home (
/acme): each project with its default branch's last 24 runs as bars, whether that branch is failing, and the latest runs. Members also see how many runners are online and busy. - A project (
/acme/app): its runs, newest first and grouped by day, with filters for text (a run number such as#12, a commit SHA prefix, or part of a branch or title), status, branch (or every branch but, say,renovate/*), trigger and your own runs. Filters are kept in the URL, so a filtered list can be shared. Beside the list, the default branch's history: how often it passes, how long it has been failing, the median duration and the slowest job. Run pipeline starts a run at the head of the default branch. - All runs (
/acme/runs): the same list across projects, with a project filter. - A run (
/acme/app/runs/142): its jobs as a graph or a list, the selected job's steps, and its log.
Keys on the lists: j and k move, ↵ opens, r reruns the selected run's failed jobs, / filters, N runs the pipeline. ⌘K (Ctrl+K) anywhere opens a search over runs, their failed jobs and projects, scoped to the project you're in until ⌫ removes the scope; > lists only actions, such as rerunning, running the pipeline or switching the theme. Searching the text of logs across runs isn't there yet.
Signing in
Without the CLI, open the server's URL and paste the admin token. Either way the browser gets a session cookie (HttpOnly, SameSite=Strict, Secure when HOD_PUBLIC_URL is https); sessions end after 7 days unused, after 30 days, on sign-out, and when HOD_ADMIN_TOKEN changes. Behind a reverse proxy, keep HOD_PUBLIC_URL the address people open, pass the Origin and Sec-Fetch-* headers through, and list the proxy in HOD_TRUSTED_PROXIES (Configuration). The org can't be named after the server's own paths (api, assets, git, login, ...).
Building it
The image has the UI built in. A server built from source has it only with just ui-build and then cargo build -p hod-server --features ui; without it, pages say so and the API works as before.