-
My machines
The PC, the laptop and the control node: the only ones with a key to push.
-
Element
A room of its own for CI/CD, apart from incidents: one message per run, with the commit and the link.
-
Backup repository
The same as always: every machine still pushes each commit to it. It has its own unit.
-
This site
A Rust binary: what the runner deploys when everything goes green.
-
AI agents, from issues
An issue with its label starts an agent in its own container, with no home keys, using that task's profile: rules, permissions and tests. It can split a milestone into subtasks and open MRs; merging, deploying or publishing, no.
-
GitHub, the public copy
It only gets commits that have already passed CI, the leak check and the deployment.
-
Git over SSH
Its own port for Git, separate from the admin SSH. Only registered keys get in.
-
Web interface
Only from home or the VPN, with the home single sign-on and two-factor.
-
MRs and a protected branch
The infrastructure's main branch takes no pushes: only MRs with green CI, merged by a person.
-
Webhooks
When each run ends, or when an issue asks for an agent, GitLab calls out with a request carrying its secret.
-
CI runner
In its own container, without a single secret or any access to the homelab. If it has to read a vault, it reads a deliberately fake one.
-
Terraform, lint and Trivy
Terraform formatting and validation with no state or credentials, tflint, ansible-lint (only fails on new warnings) and Trivy, which looks for serious flaws in configuration and dependencies.
-
Rust and PostgreSQL
For this site: formatting, clippy, tests against a real PostgreSQL, the build and valid content.
-
gitleaks
Over the whole history, not just the last commit: what was deleted is still in the repository.
-
The MR's plan
Terraform plan and the affected playbooks in dry-run. It's posted as a note on the MR, before merging.
-
Approve with one click
Merging applies nothing: the main branch's plan comes out and I approve it with ▶.
-
Saved plan
Exactly that plan is applied. If the state changed afterwards, Terraform refuses instead of doing something else.
-
Leak check
Before anything leaves home: gitleaks, only my public identity as author and no addresses or internal names.
-
Alert receiver
Checks the webhook's secret and sums up the run: repository, branch, commit, duration and link.
-
Matrix relay
Posts the alert end-to-end encrypted to the CI/CD room.
-
Renovate
Every Monday it looks for new versions of everything pinned and opens one MR for each, with its official SHA-256.
-
Daily copy
The GitLab container, every night to a separate disk, encrypted. Restoring it has been tested.