From patchwork Fri Oct 31 06:54:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 663 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761893759; bh=dy1mb+iIKyC9aDzJmDxdnDW705lbW7Wqi0mmtTXcyVA=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ry9kRMkXQowXOo3mm8jf/wJpVY0ZrRrBXxgs57WNANIG4uIQuq15YHRkZyUg9N/q1 KK0/7kBLF3ErD1rfTFQeAqMI4XLWT6Vb8tyM9Rr5Ju3/xh5EULoAH+yktgJKP2o1MY xT2acvzLHK6yp9sID25nJwMxqfEb6mDkJiPsiLYUmk96St1ehATcapKGKZKZkhxEzM Yzm0nSHSWgZ4MDb5TbXo90F3ACmIp+vDUHEnE2AgacB35d+pT83jC/ZyK7gKfmfhqa dZ0FQ7cZWd5ZCjkT6n9hZrN7D3cfunK6oDFHdLite0CVeLdjqmeqgd3SNdqAi2m7S2 Gq74JXjSQhZGg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BF1A368362 for ; Fri, 31 Oct 2025 00:55:59 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RAB2JM0_A6u3 for ; Fri, 31 Oct 2025 00:55:59 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761893759; bh=dy1mb+iIKyC9aDzJmDxdnDW705lbW7Wqi0mmtTXcyVA=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ry9kRMkXQowXOo3mm8jf/wJpVY0ZrRrBXxgs57WNANIG4uIQuq15YHRkZyUg9N/q1 KK0/7kBLF3ErD1rfTFQeAqMI4XLWT6Vb8tyM9Rr5Ju3/xh5EULoAH+yktgJKP2o1MY xT2acvzLHK6yp9sID25nJwMxqfEb6mDkJiPsiLYUmk96St1ehATcapKGKZKZkhxEzM Yzm0nSHSWgZ4MDb5TbXo90F3ACmIp+vDUHEnE2AgacB35d+pT83jC/ZyK7gKfmfhqa dZ0FQ7cZWd5ZCjkT6n9hZrN7D3cfunK6oDFHdLite0CVeLdjqmeqgd3SNdqAi2m7S2 Gq74JXjSQhZGg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A835168321 for ; Fri, 31 Oct 2025 00:55:59 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761893757; bh=oAU1a2NLDmLKtS6zu7UfBFm2Zr7FDxmq/Cpf679M2VM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fy1ZlGq9nYguAknibOoqTkaj3jsYrQesrPCboP8i2maQm8ouJ51mfDUSfWN5Bj6DO ZV298huquc3XkNpD0pAGsLpds49jaI1ufv6E99KgG908vMbiuvozIJpsdSUCT5u19H bV1eD9QT1QI0VWBqyvyjKkS9BaQHVc3zeFaXtZLVXNb0TWaJ0a8Hc9Y7otPTZ9v5gf FZvFEtB22iaI+qRpkJh+3QMOsmsMMS1vfs5yD51OC4B7w2PJ687fivSYb8tcMPlKcl rRDFWYCT/z8ojkFPjgZ5GQf8sfSx9tz66lB3uoBb0Cb74ayX5oo06VP6LqRmfQVm26 rYA7jpuD0Uoyw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BE55D5FBA9; Fri, 31 Oct 2025 00:55:57 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id EfwxcBgtFd_E; Fri, 31 Oct 2025 00:55:57 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761893753; bh=TfdZqChCGpg2H5S/jKPjALaNZENgMgqnbovLwt6GZC4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LK5IKZztvF7gw1VvCpg/kox+xFPKlvvCjnkjs9h0pBXB6Q8IWsjFobddLIfy8GA7l CiUA7u6mGZVO6sWA0p13HzrZ56V8bBGdT46dV90Wfpvo0z53MTZoUaPdrPu4dAUg9z E118dQ0sPHmMlFAbxbM191uux4Ddoxj9b5LfNwPywZKCWtuoBB4BKrk0AG/sXZFjv9 vuIfmCaeDrhxtUqeZy8AU067ojYowloaAhBsyepBaGLxhDztuIT7RG5iOiZGMsb8f0 25qk3Bda6GacnuFc5TX65Rzb8+ecvmUVES5YgJdhqqzTb2gc4e84pRf+xdfY+KRKwJ P0//N26Nwx6gg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4765268321; Fri, 31 Oct 2025 00:55:53 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Fri, 31 Oct 2025 00:54:09 -0600 Message-ID: <20251031065439.3251464-14-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251031065439.3251464-1-sjg@u-boot.org> References: <20251031065439.3251464-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: HHXRBEAQS6C4IOUTTQDCKS3Z5GQVCEU5 X-Message-ID-Hash: HHXRBEAQS6C4IOUTTQDCKS3Z5GQVCEU5 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 13/24] CI: Update Docker image to including luks tools List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass 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 Signed-off-by: Simon Glass --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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