mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
Add a `skip: [compose, swarm]` field on a role's meta/services.yml primary entity so an app can opt out of the test-deploy matrix per deploy mode, replacing the hardcoded exclude regex in apps.sh (the "TODO: Remove exclude condition"). The filter threads through both discovery paths: the CI workflows pass INFINITO_DEPLOY_MODE -> apps.sh -> `cli meta roles applications type --skip-mode`, and roundtrip.sh honours the same get_role_skip SPOT per app/mode. Apply skip: [compose, swarm] to svc-storage-nfs-server and svc-storage-nfs-client (NFS storage is swarm-only and set up via the cluster inventory, not the matrix) and web-opt-rdr-www (the previously regex-excluded app). Covered by get_role_skip and skip_mode-filter unit tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>