[Concept,13/24] CI: Update Docker image to including luks tools

Message ID 20251031065439.3251464-14-sjg@u-boot.org
State New
Headers
Series luks: Provide basic support for unlocking a LUKS1 partition |

Commit Message

Simon Glass Oct. 31, 2025, 6:54 a.m. UTC
  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(-)
  

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 534426f0538..68f2534918c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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