Files
computer-playbook/roles/drv-non-free/meta/services.yml
kevinveenbirkenbachandClaude Opus 4.8 fe44e078da feat(lint): enforce category-declared mode defaults on role services
categories.yml now declares modes defaults per category (deepest match wins, parents apply as fallback): update, drv and svc-net disable compose and swarm (host-hardware and host-networking categories), svc-registry requires both enabled (CI bootstrap infrastructure). role_modes_defaults resolves a role's policy; the new category-modes lint requires every deploy-bearing service entry to declare exactly those modes.<mode>.enabled values explicitly, exempt via '# nocheck: category-modes' on the service key. update, the four drv roles and the three wireguard roles declare their values explicitly; the dict-valued modes meta key is excluded from the category-tree walkers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 19:10:00 +02:00

16 lines
232 B
YAML

---
non-free:
modes:
host:
enabled: true
compose:
enabled: false
swarm:
enabled: false
min_storage: 0GB
lifecycle: alpha
cpus: "0.1"
mem_reservation: "32m"
mem_limit: "64m"
pids_limit: 64