|
|
Build pushed branches of git repositories. Each instance in
hrm.ci.instances serves one repository: its hook queues each pushed branch,
and hrm-ci-NAME.service runs the instance's build script for each job its
jobs script lists, keeping request.json, build.json and a log per job for
every run in /var/lib/hrm-ci/NAME/runs.
Dependencies are branches of other repositories, unpacked into the build's
$HOME. Their hooks queue rebuilds of all branches, and each request
records the dependency revisions it gets built against.
Pushed trees are untrusted. Each instance runs as its own user, with a
sandboxed service that can write only to its state directory, can't see
/home, and limits each script run with timeout(1). Job names are
restricted to [A-Za-z0-9_][A-Za-z0-9._-]*.
|