Files
computer-playbook/tests/integration/infrastructure/networks
kevinveenbirkenbachandClaude Opus 4.8 2c20e1598c fix(networks): move n8n + svc-runner off mailu's /24, gate overlaps
n8n (192.168.106.16/28) and svc-runner (192.168.106.0/28) sat inside mailu's 192.168.106.0/24, so co-deploying either with mailu aborted with "Pool overlaps with other one on this address space". Reassign both to free /24s (218, 219). The overlap test read meta/server.yml, which has no networks key, so it passed vacuously; point it at meta/networks.yml so it actually gates duplicate/overlapping subnets.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 00:03:33 +02:00
..
…

Network Tests 🕸️

Integration tests that enforce the contract between group_vars/all/08_networks.yml and the roles that require a container network: subnets MUST be valid, unique, and non-overlapping, network names MUST map to an application_id, and every role that ships a compose.yml.j2 with an application_id MUST have a network entry under defaults_networks.local.

Tests in this directory MUST only cover 08_networks.yml consistency and its coupling to roles. Tests for port allocations MUST live under tests/integration/ports/, and domain-related checks MUST live under tests/integration/domains/.

For framework, directory layout, and make test-integration usage see integration.md.