summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-01 09:32:01 -0600
committerTom Rini <[email protected]>2025-11-10 16:02:28 -0600
commit9420160a0d145be2e4b53742612fdf4fb43d11af (patch)
tree4aebd73174feff188a5deb4404b806898c96bb1b /.azure-pipelines.yml
parent365a7079fb918643da0f0709660a7d8ea76dd6f3 (diff)
CI: Move to Ubuntu 24.04 'Noble' as the base
The changes here are that we need to ensure python setuptools are in our build virtual environments as they will no longer come in via python even in a virtual environment. As part of this ensure setuptools is in our cache and also include pytest-azurepipelines as we should have been doing. Next, we move away from using apt-key directly and move that stanza towards the rest of the apt work. This also lets us drop directly installing gnupg2. These steps are not strictly required for 24.04 but will be for later releases and are valid now. Finally, we drop the unused PTYHONPATH ENV line. In order to use these containers however, we need to stop running the event_dump test as the 'addr2line' tool provided by binutils no longer is able to decode those specific events in most cases. As this is a problem with binutils and present for some time now, disabling the test until someone has time to work with upstream this seems reasonable. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 5314a8b2444..0f1909007a7 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -2,7 +2,7 @@ variables:
windows_vm: windows-2022
ubuntu_vm: ubuntu-24.04
macos_vm: macOS-14
- ci_runner_image: trini/u-boot-gitlab-ci-runner:jammy-20251001-04Nov2025
+ ci_runner_image: trini/u-boot-gitlab-ci-runner:noble-20251001-10Nov2025
# Ensure we do a shallow clone
Agent.Source.Git.ShallowFetchDepth: 1
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
@@ -273,6 +273,7 @@ stages:
-r tools/buildman/requirements.txt \
-r test/py/requirements.txt \
-r tools/u_boot_pylib/requirements.txt \
+ setuptools \
pytest-azurepipelines
tools/buildman/buildman -o \${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board \${TEST_PY_BD} \${OVERRIDE}
cp /opt/grub/grub_x86.efi \${UBOOT_TRAVIS_BUILD_DIR}/
@@ -352,6 +353,8 @@ stages:
sandbox:
TEST_PY_BD: "sandbox"
TEST_PY_EXTRA: "--timing"
+ # addr2line in Ubuntu 'Noble' and later are broken.
+ TEST_PY_TEST_SPEC: "not event_dump"
sandbox_asan:
TEST_PY_BD: "sandbox"
OVERRIDE: "-a ASAN"
@@ -359,6 +362,8 @@ stages:
sandbox_clang:
TEST_PY_BD: "sandbox"
OVERRIDE: "-O clang-18"
+ # addr2line in Ubuntu 'Noble' and later are broken.
+ TEST_PY_TEST_SPEC: "not event_dump"
sandbox_clang_asan:
TEST_PY_BD: "sandbox"
OVERRIDE: "-O clang-18 -a ASAN"
@@ -642,7 +647,8 @@ stages:
python3 -m venv /tmp/venv
. /tmp/venv/bin/activate
pip install -r tools/binman/requirements.txt \
- -r tools/buildman/requirements.txt
+ -r tools/buildman/requirements.txt \
+ setuptools
EOF
cat << "EOF" >> build.sh
if [[ "${BUILDMAN}" != "" ]]; then