iac/nixos/hosts/asxpio-ops
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski e95d97869f
nixos: Traefik and the CI runners as native services
Traefik keeps its role and its acme.json. Routes for the native
services (Forgejo, Garage, the dashboard, the XMPP certificate) are
written from Nix; the app containers keep declaring theirs as labels,
which Traefik reads through Podman's socket as it did through Docker's.

The asxpio runner uses the NixOS module and starts jobs through Podman;
the interop runner is its own unit because it connects with a UUID and
token instead of registering.

Tried on the rehearsal pair: Forgejo and Garage through Traefik, a
label-routed container, anonymous reads of the public bucket only, and
a workflow with a nix-latest and an ubuntu-latest job.

A restored Forgejo database still holds production's queued jobs,
schedules and Actions secrets. The test runner tried to take a queued
production job and was stopped only by the different secret key.
migration/rehearsal-sanitize-forgejo.sh removes all of that and must
run before a runner meets restored data.

Assisted-by: Claude:fable-5-2
2026-11-16 23:17:09 +04:00
..
default.nix nixos: Traefik and the CI runners as native services 2026-11-16 23:17:09 +04:00
forgejo.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
garage.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
postgres.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
traefik.nix nixos: Traefik and the CI runners as native services 2026-11-16 23:17:09 +04:00