From c51e7414ae05459f0a189d14d868805de2e6f4d1 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Tue, 17 Nov 2026 12:23:24 +0400 Subject: [PATCH] blog: route to the service on asxpio-services; automerge app bumps Traefik routes blog.asxp.io to the blog's NixOS service at priority 2000, above the container's labels; removing the route falls back to the container. Renovate merges bumps of the app inputs (blog for now) onto main by itself once CI passes, as a signed fast-forward, so comin deploys an app commit without anyone merging it. Assisted-by: Claude:opus-5-5 --- nixos/hosts/asxpio-ops/traefik.nix | 6 ++++++ renovate.json | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/nixos/hosts/asxpio-ops/traefik.nix b/nixos/hosts/asxpio-ops/traefik.nix index 3c3da31..5fa7955 100644 --- a/nixos/hosts/asxpio-ops/traefik.nix +++ b/nixos/hosts/asxpio-ops/traefik.nix @@ -208,6 +208,12 @@ in hosts = [ "s3.asxp.io" ]; url = "http://127.0.0.1:3900"; }; + # Apps on asxpio-services, from their own flakes (apps.nix there) + blog = { + hosts = [ "blog.asxp.io" ]; + url = "http://10.10.0.20:8081"; + priority = 2000; # over the container's labels until it is removed + }; }; users.users.traefik.extraGroups = [ "podman" ]; diff --git a/renovate.json b/renovate.json index 0e1f132..720ade3 100644 --- a/renovate.json +++ b/renovate.json @@ -27,6 +27,17 @@ } ], "packageRules": [ + { + "description": "App releases: an app's flake input moves with its main. Renovate fast-forwards main with its signed lock bump once CI passes, and comin deploys it; no PR", + "matchManagers": [ + "nix" + ], + "matchDepNames": [ + "blog" + ], + "automerge": true, + "automergeType": "branch" + }, { "description": "Paper needs Java 21: patch updates of the 21 JRE only", "matchPackageNames": [