7 Commits

Author SHA1 Message Date
Lars Nolden 5e2454f622 Inject runner-absolute SSH opts via deploy-rs --ssh-opts
check / flake-check (push) Successful in 19s
deploy / deploy (push) Failing after 56s
The gitea-runner is a systemd DynamicUser whose passwd home is /, so ssh
expands ~ to /.ssh/... (not $HOME). deploy-rs passes ssh opts to ssh with
no shell, so a tilde in deploy.nix sshOpts resolved to a missing key and
nix copy failed with 'failed to start SSH connection'.

Keep deploy.nix sshOpts path-free; build absolute -i/known_hosts paths in
deploy.yml from $HOME (bash-expanded) and append them via --ssh-opts, which
deploy-rs merges into NIX_SSHOPTS for the copy and the activation ssh.
Also removes the temporary SSH debug step.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 19:06:12 +02:00
Lars Nolden 16fd12173f Add temporary SSH debug step to diagnose db-host deploy auth
check / flake-check (push) Successful in 17s
deploy / deploy (push) Failing after 20s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 18:21:54 +02:00
Lars Nolden e1b3017fb7 test deploy
check / flake-check (push) Successful in 18s
deploy / deploy (push) Failing after 18s
2026-06-30 18:11:23 +02:00
Lars Nolden d5a0be9e40 dont overwrite SSH key
check / flake-check (push) Successful in 16s
deploy / deploy (push) Failing after 19s
2026-06-29 18:04:48 +02:00
Lars Nolden 7579d4dcf5 change domains, ips and make flake check work 2026-06-26 16:12:57 +02:00
Lars Nolden b10d22bd57 change runner names
check / flake-check (push) Failing after 25s
deploy / deploy (push) Failing after 4s
2026-06-25 18:55:06 +02:00
Klaus 2d57db8182 Add infrastructure skeleton for review (refs #21)
check / flake-check (pull_request) Has been cancelled
Lays out the agreed shape from the design discussion: one flake at the
root with three nixosConfigurations (mqtt-ingest, db-host, app-host),
vendored Supabase docker-compose pointed at the external db-host,
Caddy → Kong → PostgREST/GoTrue, a Go MQTT→Postgres ingester stub,
deploy-rs node map, and a Gitea Actions workflow that deploys in
db → app → ingest order on push to main.

No real implementation yet — every host module has TODOs marking the
gaps (real hardware config, actual hostnames, HiveMQ packaging,
vendor the full upstream Supabase compose, etc.).
2026-05-27 17:23:02 +00:00