summaryrefslogtreecommitdiffstats
path: root/modules/git.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-19 22:29:29 +0000
committertv <tv@krebsco.de>2026-11-20 01:24:09 +0100
commit0bc6887673afafdda35fb3887b14a65d3968790e (patch)
treece3689e2ddfc0e607a70efc70e4e4523e5aa4945 /modules/git.nix
parent58ee2e3a72d46847ee63baf768864a14ce0716fc (diff)
hrm.ci: init
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._-]*.
Diffstat (limited to 'modules/git.nix')
0 files changed, 0 insertions, 0 deletions