scripts/ci: add gitlab-runner to kvm group
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 May 2023 15:11:50 +0000 (16:11 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 10 May 2023 14:58:19 +0000 (15:58 +0100)
One of the main reasons to have custom runners it so we can run KVM
tests. Enable the "kvm" additional group so we can access the feature
on the kernel.

Message-Id: <20230503091244.1450613-5-alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
scripts/ci/setup/gitlab-runner.yml

index 1a1b270ff2b286521c6c1a23573c67dab5694de3..7bdafab511540e6c59e7eb2b4c2a188c4f52dff2 100644 (file)
@@ -26,6 +26,7 @@
       user:
         user: gitlab-runner
         group: gitlab-runner
+        groups: kvm
         comment: GitLab Runner
         home: /home/gitlab-runner
         shell: /bin/bash