fix(deploy): set up (magic) auto rollbacks on 'hecuba' using 'deploy-rs'

This commit is contained in:
2026-07-02 00:58:11 +02:00
parent c19d6b3152
commit cf3095556d
5 changed files with 143 additions and 95 deletions
+8 -1
View File
@@ -6,7 +6,14 @@
let
inherit (inputs.nixpkgs) lib;
utils = import ../utils { inherit lib; };
hostnames = utils.dirNames ../hosts;
# exclude hosts that need auto rollback (until `colmena` supports it) for
# now, we use `deploy-rs` (which has magic rollback) for those (also see ./deploy-rs.nix)
#
# see <https://github.com/nix-community/colmena/issues/38>
# <https://github.com/nix-community/colmena/issues/344>
hostnames = lib.filter (
hostname: !((utils.hostMeta ../hosts/${hostname}).deploy.autoRollback or false)
) (utils.dirNames ../hosts);
mkNode =
hostname: