[Concept,13/24] CI: Update Docker image to including luks tools
Commit Message
From: Simon Glass <sjg@chromium.org>
Update the GitLab CI Docker image to use the new build with cryptsetup
support for LUKS testing.
This appears to require use of sudo, so add a comment about that.
Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
---
.gitlab-ci.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -20,7 +20,7 @@ default:
- ${DEFAULT_TAG}
# Grab our configured image. The source for this is found
# in the u-boot tree at tools/docker/Dockerfile
- image: ${MIRROR_DOCKER}/sjg20/u-boot-gitlab-ci-runner:jammy-20250714-10Sep2025p2
+ image: ${MIRROR_DOCKER}/sjg20/u-boot-gitlab-ci-runner:jammy-20250404-24Oct2025p1
services:
- name: container-$(CI_JOB_ID)
command: ["--rm"]
@@ -37,6 +37,10 @@ stages:
.buildman_and_testpy_template: &buildman_and_testpy_dfn
stage: test.py
retry: 2 # QEMU may be too slow, etc.
+ # Note: These tests require device-mapper access for LUKS encryption tests.
+ # The GitLab runner must be configured with:
+ # - privileged = true in /etc/gitlab-runner/config.toml
+ # OR passwordless sudo for: modprobe, cryptsetup, dd
rules:
- if: $LAB_ONLY == "1"
when: never