mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
Eight meta/variants.yml repeated their last entry verbatim. The six svc-* roles
held the same tor.enabled override twice; fusiondirectory and phpldapadmin held
a third entry identical to their second, nocheck comments included.
The matrix plans a row per entry, assigns it its own axes and spends a deploy
job on it, around a hundred minutes here. The repetition is invisible in the
plan table, which lists rows by role#variant, so the two read as different rows
and only their identical embeds and weight betray them.
test_variants_distinct.py compares the parsed payload rather than the file text,
so key order, indentation and comments do not hide a duplicate, and null
normalises to {} because a bare list item and an explicit {} declare the same
no-override entry. A role whose variants are told apart by something outside the
entry opts the file out with `# nocheck: variants-duplicate` and a reason; no
file needs it today.
Every deletion is the trailing entry, so the surviving indices keep their
meaning and nothing is renumbered. The vanishing tokens are svc-db-elasticsearch#1,
svc-db-memcached#1, svc-db-rabbitmq#1, svc-db-redis#1, svc-db-typesense#1,
svc-prx-openresty#1, web-app-fusiondirectory#2 and web-app-phpldapadmin#2;
`git grep` against the commit finds no consumer naming any of them.
Negative control executed: re-adding the redis duplicate fails the lint with
"svc-db-redis: variants #0, #1 declare the same override", removing it passes.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
---
|
|
# Matrix-deploy variant overrides for web-app-phpldapadmin.
|
|
# See docs/contributing/artefact/files/role/variants.md for the file format.
|
|
#
|
|
# `ldap` is pinned in `services.yml` (`enabled: true`, `shared: true`)
|
|
# because LDAP IS the storage backend for phpLDAPadmin — every variant
|
|
# inherits it, so the variant blocks below don't override it.
|
|
|
|
# variant 0: every dynamic flag on so the matrix exercises the
|
|
# in-group_names branch.
|
|
- services:
|
|
dashboard:
|
|
enabled: true
|
|
shared: true
|
|
logout:
|
|
enabled: true
|
|
shared: true
|
|
matomo:
|
|
enabled: true
|
|
shared: true
|
|
sso:
|
|
enabled: true
|
|
shared: true
|
|
prometheus:
|
|
enabled: true
|
|
shared: true
|
|
|
|
css:
|
|
enabled: true
|
|
shared: true
|
|
tor:
|
|
enabled: true
|
|
- services:
|
|
dashboard:
|
|
enabled: false
|
|
shared: false
|
|
logout:
|
|
enabled: false
|
|
shared: false
|
|
matomo:
|
|
enabled: false
|
|
shared: false
|
|
sso:
|
|
enabled: false
|
|
shared: false
|
|
prometheus:
|
|
enabled: false
|
|
shared: false
|
|
|
|
css:
|
|
enabled: false
|
|
shared: false
|
|
tor:
|
|
enabled: true
|