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

Various test fixes for bootc image #21566

Merged
merged 9 commits into from
Jan 30, 2025
Merged

Conversation

martinpitt
Copy link
Member

Preparation for #21559. As this potentially affects other OSes, let's regression-test here.

This is useful for experimentation.
Use `@skipOstree`, as that includes -bootc images as well.
centos-9-bootc (and likely future bootc images) have PCP pre-installed,
so the `ostree_image:` case for fedora-coreos does not fit. But we can't
remove it either, so the test is moot.
The centos-9-bootc image is bigger than 20GiB, which would mean to
shrink it (which is refused by default). So bump it to 30 GiB.
Calling `kernelopt.sh remove nosmt` fails if the `nosmt` option isn't
present yet when using `rpm-ostree kargs`. Make the removal conditional.
We can't meddle with /usr there.
A bootc image satisfies `m.ostree_image`, but it has cockpit-ws.rpm
installed, so skip the function in this case.
That image does not have certmonger (and we don't need it - we already
run the test on CentOS 9 stream rpm).
@martinpitt martinpitt mentioned this pull request Jan 29, 2025
9 tasks
@jelly jelly merged commit 5d3ac37 into cockpit-project:main Jan 30, 2025
85 checks passed
@martinpitt martinpitt deleted the fixes branch January 30, 2025 09:04
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