Build custom ostree images for package-centric testing
Merged
requested to merge andrewsh/apertis-test-cases:wip/andrewsh/ostree-imagenes into apertis/v2025dev2
All threads resolved!
- Stop using curl and unzip, as this needlessly modifies images while we already have busybox that implements wget.
- Only install freshly build packages in LAVA for non-custom images (as e.g. ostree images don’t have a package manager)
- Install BIN_PKG_LIST packages at build time for all custom images.
- Build and test custom ostree images.
tests:
image-types:
fixedfunction: [ armhf, arm64: [uboot, rpi64], amd64 ]
hmi: [ armhf, arm64: [rpi64], amd64 ]
image-deployment:
- APT
- OSTree
pkg_test_cmd: wpa_cli -h
bin_pkg_list: >
wpasupplicant
build-custom-image: yes
This MR depends on infrastructure/apertis-image-recipes!648 (merged).
Edited by Andrej Shadura
Merge request reports
Activity
added 1 commit
- 5a2c0dab - Only process ostree-image-types for custom images
mentioned in merge request infrastructure/apertis-image-recipes!648 (merged)
mentioned in issue infrastructure/apertis-issues#526 (closed)
- Resolved by Andrej Shadura
I would use the same format as we use in this test for the metadata, for instance
image-types: fixedfunction: [ armhf, arm64, amd64 ] hmi: [ armhf, arm64, amd64 ] basesdk: [ amd64 ] sdk: [ amd64 ] image-deployment: - APT - OSTree group: "apparmor"
- Resolved by Walter Lozano
added 5 commits
Toggle commit list- Resolved by Dylan Aïssi
It looks great to me. Please, @daissi take a look at this one to see if you have any concerns.
added 7 commits
-
2c2fd667...4e1986fa - 2 commits from branch
tests:apertis/v2025dev2
- f4207334 - Drop curl and unzip usage
- e37a3c56 - Allow skipping apt usage in package-centric testing
- 62812cc8 - Build custom ostree-based images
- daee6983 - Always install BIN_PKG_LIST packages during custom image build
- 56c2caf6 - Extend image building timeout to two hours
Toggle commit list-
2c2fd667...4e1986fa - 2 commits from branch
Please register or sign in to reply