summaryrefslogtreecommitdiffstats
path: root/container/healthz
Commit message (Collapse)AuthorAgeFilesLines
* Only build the access control executableHEADmaindev2026-11-151-1/+0
| | | | | | | | | | | The container image and all the server configuration (Dockerfile, entrypoint, cgitrc, sshd, lighttpd, create-repo, git-host-key) move to the git-host project. This repo is now just the program: cmd/, src/, test/, the Makefile that builds git-authz and installs it, and the example policy - the same cmd/src/test/obj layout the reference projects use. The CI pipeline keeps the compile-and-test gate (strict, test, sanitizer, install) and drops the container-build job, which belongs to git-host now.
* container: the host, built from the program's own installdev2026-11-131-0/+1
The image is two stages: one compiles, runs the suite and installs into a staging root, the other is the host and receives that staging root whole. The reason for the copy-whole is that the paths in the image are then the paths `make install` produces - including the hook symlink and its relative target - rather than a second list of destinations kept in a Dockerfile, which is how an image and a build start to disagree about where the hook is. The build stage is Alpine so the binary is musl-linked like the rest of the runtime image; a glibc binary would fail as "no such file" about a file that is plainly there. `make test` runs in that stage, so an image built from a tree whose tests fail does not get to exist. The lighttpd config, sshd config, CGI shim, cgitrc and the two operator tools come from the shell implementation, with the comments corrected: there is no refcheck any more, and the hook the comments point at is now a symlink to this binary. Nothing about the wiring changed, which is the point - the C program drops into a host that was already built around one hook and one policy file.