summaryrefslogtreecommitdiffstats
path: root/roles/cgit
AgeCommit message (Collapse)AuthorFilesLines
26 hoursGive git user its own home, separate from /srv/gitAhmed Abdelhalim5-41/+1
authorized_keys lived under /srv/git (git's $HOME), the same tree restic backs up and restores. backup couldn't even read it (0700, unreadable by the backup user), and restore --delete treated it as extraneous and deleted it, breaking push access after every restore. git now gets a normal separate home; clone-prefix in cgitrc serves the repos dir by absolute path instead of the ~-relative form, since that relied on $HOME being the repos dir. Drops the sshd_config.d Include/ Match-block/AllowUsers approach tried first — it directly conflicted with pve-lxc-ssh's sshd_config push, which fully overwrites the file on every run and has no way to know about cgit's edits. Co-Authored-By: Claude.ai
27 hoursMove git SSH auth out of /srv/git, harden container sshdAhmed Abdelhalim2-7/+28
Restore (restic --delete) was wiping git's authorized_keys because it lived under the same tree as the backed-up repos, and the backup user couldn't even read it in the first place (0700, permission denied). authorized_keys now lives at /etc/ssh/authorized_keys/git, decoupled from backup/restore entirely. Also add AllowUsers allowlists (pve-lxc-ssh baseline + cgit override) and a Match block restricting the git user to key auth only, no TCP/ agent forwarding or TTY. Co-Authored-By: Claude.ai
3 daysConfigure git globals for cgit roleAhmed Abdelhalim1-0/+7
5 daysFix clone URL on cgitAhmed Abdelhalim2-3/+7
8 daysRefactor and clean up codeAhmed Abdelhalim1-2/+2
9 daysUpdate cgit view (remove owner) and example varsAhmed Abdelhalim1-0/+1
10 daysFix pushing to cgit locallyAhmed Abdelhalim2-1/+20
10 daysRefactor proxy setup on cgit to simplify setupAhmed Abdelhalim6-103/+1
10 daysFix deploying cgit locallyAhmed Abdelhalim1-5/+0
11 daysAllow cgit to theoretically deploy to public URLAhmed Abdelhalim3-5/+22
11 daysRefactor pve cgit to use generic proxyAhmed Abdelhalim8-26/+119
This is refactoring the PoC for deploying cgit on pve, to now move to a more standard deployment with dedicated agnonstic proxy role/container
12 daysFix cgit role install on alpineAhmed Abdelhalim1-0/+7
2026-07-07Add cgit role with testing of molecule serviceAhmed Abdelhalim7-0/+155