mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
CI: Only build packages on install in bump_autobuild job
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
This commit is contained in:
parent
3ea5a3433b
commit
09d87cf3d3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue