From 09d87cf3d3005a59bf186692c59e1783f65bd3d1 Mon Sep 17 00:00:00 2001 From: Newbyte Date: Fri, 11 Jul 2025 12:39:07 +0200 Subject: [PATCH] CI: Only build packages on install in bump_autobuild job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will still build outdated packages in the bump_autobuild packages, which isn't good—but I don't know any way of avoiding that. Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2625 --- .ci/integration.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/integration.sh b/.ci/integration.sh index e7b60966..8776b5dd 100755 --- a/.ci/integration.sh +++ b/.ci/integration.sh @@ -29,6 +29,9 @@ pmbootstrap -q shutdown # Default for tests where the device doesn't matter pmbootstrap config device qemu-amd64 +# Building packages takes long, only do it if actually relevant to the test. +pmbootstrap config build_pkgs_on_install False + # A test that builds normal and FDE images for the given device/ui build_images() { device="$1" @@ -95,6 +98,7 @@ bump_autobuild() { fi pmbootstrap config device "$device" + pmbootstrap config build_pkgs_on_install True echo "Bumping pkgrel of $package" # shellcheck disable=SC2086