Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bib: add integration test for the new Disk customizations #721

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Nov 21, 2024

[It is draft right now because it has quite a few rough edges in the code but mostly because the LVM case is not working right now and it's unclear why, but pushing it will help with exposure/feedback, there are also some issues in "images" that are uncovered here that should be fixed there (like minsize seems to be not working for strings)]

This PR adds support for the new Disk customizations from osbuild/images#1041 into bib.

bib/cmd/bootc-image-builder/image.go Outdated Show resolved Hide resolved
test/test_build.py Outdated Show resolved Hide resolved
@mvo5 mvo5 force-pushed the use-new-disk-customizations branch 3 times, most recently from b1af681 to c8ea8e3 Compare November 25, 2024 09:31
@achilleas-k
Copy link
Member

achilleas-k commented Nov 25, 2024

The tests seem fine by themselves but they fail when I run them all at the same time. Meaning, if I run pytest -k 'test_image_boots and lvm' and pytest -k 'test_image_boots and btrfs' they succeed, but running pytest -k 'test_image_boots' causes failures in those two tests.

I'll have a look at the pytest fixture handling.

@mvo5 mvo5 force-pushed the use-new-disk-customizations branch from c8ea8e3 to c04e19f Compare November 27, 2024 09:09
@mvo5 mvo5 changed the title bib: add support for the new Disk customizations bib: add integration test for the new Disk customizations Nov 27, 2024
This update includes support for swap partitions and logical volumes.

See: osbuild/images#1072
@mvo5 mvo5 force-pushed the use-new-disk-customizations branch from c04e19f to d7fb01c Compare December 3, 2024 14:48
@mvo5 mvo5 marked this pull request as ready for review December 3, 2024 14:52
@mvo5 mvo5 force-pushed the use-new-disk-customizations branch from d7fb01c to 1a861bb Compare December 3, 2024 15:18
achilleas-k
achilleas-k previously approved these changes Dec 3, 2024
test/test_build.py Show resolved Hide resolved
achilleas-k
achilleas-k previously approved these changes Dec 3, 2024
This commit adds a new integration test that checks for the disk
customizations. It exchanges some of the filesystem tests with
disk customization tests.
@mvo5 mvo5 enabled auto-merge December 3, 2024 18:44
@mvo5 mvo5 added this pull request to the merge queue Dec 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 4, 2024
@mvo5 mvo5 added this pull request to the merge queue Dec 4, 2024
Merged via the queue into osbuild:main with commit 720a5e8 Dec 4, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants