Files
computer-playbook/roles/web-app-gitlab/meta/addons/matrix.yml
T
kevinveenbirkenbachandClaude Opus 5 c83c00da7d feat(addons): extend the req-026 addon contract to twenty roles
Each addon now carries four artefacts: meta/addons/<id>.yml declares it
(enabled, required, mechanism, source, bridges, optional config),
tasks/addons/<id>.yml is its install hook, files/playwright/addons/<id>.spec.js
proves it, and templates/playwright.env.j2 emits the gate flag through
lookup('addon_env_flags', application_id). A hook holding nothing but the
document marker means a generic path already installs the addon.

roles/web-app-odoo/vars/main.yml is part of this commit rather than a later
one: the three new odoo addons declare no 'group', and ODOO_MODULES_CORE
filtered on value.group without guarding it, so the jinja undefined marker
broke ODOO_INIT_MODULES at env.j2 render time, before any container started,
in every variant and both modes. The selectattr('value.group','defined')
guard matches what web-app-keycloak and web-app-nextcloud already do at the
same shape.

Two addons are declared and deliberately off because no install path exists:
web-app-moodle's mod_jitsi and aiprovider_openwebui are absent from the image
build, and web-app-suitecrm's OutboundEmailAccounts has no SMTP wiring at all.
web-app-mattermost's alertmanager plugin is off because the official
marketplace carries no such plugin - 'mmctl plugin marketplace list' returns
twenty entries and none of them is it.

Residuals: web-app-gitlab's five addon specs clear cookies and only assert
that an anonymous visitor reaches /users/sign_in, which holds for any /admin/
path, so they pass without proving the integration. The sso gates added to
discourse's bridge specs keep them from failing in the one variant that
enables their partners, which also means those bridges are exercised in no
variant until a round pairs sso with the partner pins.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-02 17:20:12 +02:00

10 lines
241 B
YAML

---
enabled: "{{ lookup('config', 'web-app-gitlab', 'services.matrix.enabled') | bool }}"
required: false
mechanism: plugin
source: bundled
bridges:
- matrix
config:
hostname: "{{ lookup('canonical_url', 'web-app-matrix', 'synapse') }}"