fix(django-apps): Disable statedir backup until it is fixed
All checks were successful
Build all the nodes / ap01 (push) Successful in 1m21s
Build all the nodes / geo02 (push) Successful in 2m7s
Build all the nodes / bridge01 (push) Successful in 2m9s
Build all the nodes / geo01 (push) Successful in 2m9s
Build all the nodes / hypervisor01 (push) Successful in 2m13s
Build all the nodes / netcore02 (push) Successful in 33s
Build all the nodes / compute01 (push) Successful in 2m46s
Build all the nodes / hypervisor02 (push) Successful in 1m28s
Build all the nodes / hypervisor03 (push) Successful in 1m55s
Build all the nodes / rescue01 (push) Successful in 2m9s
Build all the nodes / storage01 (push) Successful in 2m7s
Build all the nodes / vault01 (push) Successful in 1m55s
Build all the nodes / web02 (push) Successful in 1m59s
Run pre-commit on all files / pre-commit (push) Successful in 37s
Build all the nodes / web01 (push) Successful in 2m35s
Build all the nodes / web03 (push) Successful in 1m36s

This commit is contained in:
Tom Hubrecht 2024-12-21 17:18:32 +01:00
parent e19100f856
commit 5fa7ccb8e7
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -734,9 +734,9 @@ in
}; };
dgn-backups = { dgn-backups = {
jobs = mapAttrs' ( # jobs = mapAttrs' (
name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/django-apps/${name}" ]; } # name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/private/django-apps/${name}" ]; }
) cfg.sites; # ) cfg.sites;
postgresDatabases = builtins.map (name: "dj-${name}") ( postgresDatabases = builtins.map (name: "dj-${name}") (
attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites) attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites)
); );