mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
Deprecated roles are no longer tested, but Stalwart variant 1 still switched its mailu service key on so CI co-deployed Mailu for the migration e2e. The override and the static mailu key, whose only purpose was that pull, are gone, and the generated cosmos drops the mailu node. The migration gate keeps only the check that services.stalwart.migration.import_mailu stays declared and off by default. The operator-side import (12_import_mailu.yml, migrate_from_mailu.py) still runs when web-app-mailu is in the inventory; the e2e harness under files/test/ and templates/test.env.j2 now skips itself and is left for removal. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Service Registry Tests 🛰️
Integration tests that validate the service registry discovered from roles/*/config/main.yml: canonical aliases are consistent, every service key resolves via plugins/lookup/service.py, sys-svc-* roles carry a system_service_id matching their folder, and transitive dependencies (e.g. dashboard → mailu) are declared correctly.
Tests in this directory MUST only cover service-registry semantics. Tests for application_id identity MUST live under tests/integration/roles/applications/id/, and generic role-structure rules MUST live under tests/integration/roles/.
For framework, directory layout, and make test-integration usage see integration.md.