Added application ids to driver

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-10 14:43:32 +02:00
parent 81ab323c29
commit 8b2768daea
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
7 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@ USERS_SCRIPT := ./cli/generate_users.py
INCLUDES_SCRIPT := ./cli/generate_playbook.py
# Define the prefixes for which we want individual role-include files
INCLUDE_GROUPS := "web-" "svc-"
INCLUDE_GROUPS := "drv-" "svc-" "desk-" "web-" "util-"
# Directory where these include-files will be written
INCLUDES_OUT_DIR := ./tasks/groups

View File

@ -0,0 +1 @@
application_id: epson-multiprinter

View File

@ -0,0 +1 @@
application_id: intel

View File

@ -0,0 +1 @@
application_id: lid-switch

View File

@ -0,0 +1 @@
application_id: msi-keyboard-color

View File

@ -0,0 +1 @@
application_id: non-free

View File

@ -9,7 +9,7 @@ ROLES_DIR = Path(__file__).resolve().parent.parent.parent / "roles"
class TestApplicationIdConsistency(unittest.TestCase):
def test_application_id_matches_docker_prefix(self):
failed_roles = []
prefixes = ("web-app-", "web-svc-", "desk-", "util-")
prefixes = ("web-app-", "web-svc-", "desk-", "util-", "drv-")
for role_path in ROLES_DIR.iterdir():
if not role_path.is_dir():