From a977884e170287ec5f96b39486c1581eb70696da Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Thu, 22 May 2025 12:13:08 +0200 Subject: [PATCH] ci: Set machine-id for dbus Systemd does not exist in the docker file. So we just set an machine-id, which the dbus-daemon can use to start a session. Signed-off-by: Sven Sager --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7c23b8..fb209ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,7 @@ run_tests: script: - apt-get update - apt-get -y install dbus libgirepository1.0-dev + - dbus-uuidgen --ensure=/etc/machine-id - pip install -r requirements.txt - PYTHONPATH=src pytest -v --junitxml=report.xml --cov=src --cov-report term --cov-report xml:coverage.xml coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'