From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [for-next PATCH 2/2] Azure: Rework binman testsuite job to directly use the container
Date: Wed, 26 Nov 2025 17:49:59 -0600 [thread overview]
Message-ID: <20251126234959.3909571-2-trini@konsulko.com> (raw)
In-Reply-To: <20251126234959.3909571-1-trini@konsulko.com>
Similar to the changes made for the world build job, rework the binman
testsuite job as well. There's no functional changes, but makes our CI
clearer to others familiar with Azure pipelines.
Signed-off-by: Tom Rini <trini@konsulko.com>
---
.azure-pipelines.yml | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 8774af5393e3..c2500c3c58db 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -126,13 +126,17 @@ stages:
displayName: 'Run binman, buildman, dtoc, Kconfig and patman testsuites'
pool:
vmImage: $(ubuntu_vm)
+ container:
+ image: $(ci_runner_image)
+ options: $(container_option)
steps:
- script: |
- cat << "EOF" > build.sh
- cd $(work_dir)
+ # Copy things from /home/uboot to the Azure container user
+ sudo cp -a /home/uboot/.buildman /home/uboot/.cache ~
+ sudo chown -R 1001 ~/.cache ~/.buildman
+ # Configure git
git config --global user.name "Azure Pipelines"
git config --global user.email bmeng.cn@gmail.com
- git config --global --add safe.directory $(work_dir)
export USER=azure
python3 -m venv /tmp/venv
. /tmp/venv/bin/activate
@@ -155,11 +159,6 @@ stages:
./tools/dtoc/dtoc -t
./tools/patman/patman test
make O=${UBOOT_TRAVIS_BUILD_DIR} testconfig
- EOF
- cat build.sh
- # We cannot use "container" like other jobs above, as buildman
- # seems to hang forever with pre-configured "container" environment
- docker run -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/build.sh
- job: pylint
displayName: Check for any pylint regressions
--
2.43.0
next prev parent reply other threads:[~2025-11-26 23:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 23:49 [for-next PATCH 1/2] Azure: Rework world build to directly use the container Tom Rini
2025-11-26 23:49 ` Tom Rini [this message]
2025-12-07 22:19 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251126234959.3909571-2-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox