test: some updates on test
- add
bootc swtichtest. Switch to local folder/mntin this case - add
bootc install to-disktest - add case
installing SELinux-enabled targets from SELinux-disabled hostsfor https://github.com/containers/bootc/issues/419 - cover more distros, like
rhel 9.5,fedora 40andfedora 41(rawhide) - upgrade
testing-farm-as-github-actionto v2
(Huh, weird that you hit cargo fmt on docgen.rs, but not elsewhere. Anyways the fix is in https://github.com/containers/bootc/pull/547 )
We're running a lot of tests per PR today, I'm not sure always need to all these tests per PR. Maybe we can move some of them to post-merge testing? For example testing both c9s and rhel9.4 makes sense, but I'm not sure about every PR. Similarly both x86_64 and aarch64.
I'd like to be able to opt-in (via a comment or label on a PR) to full testing, but my instinct here is to ensure we have baseline sanity testing to start...and what do you think about ensuring that if say we choose to say only test aarch64 on a PR for c9s (skipping x86_64) we are diligently watching post-merge testing and can quickly identify any breakage?
I totally agree with you. Our daily test covered much more. We can catch failure with daily test. What about the plan like this:
- rhel9.4: x86_64
- rhel9.5: x86_64, aarch64
- cs9: aarch64
- fedora 40: x86_64
- fedora 41: aarch64
Let's drop fedora 41 there: I don't want to gate PRs on fedora rawhide stability. Or to future proof it the matrix would just have fedora $stable. We can also pretty confidently drop 9.4 I think for PR testing, the chance that we pass on 9.5 but break on 9.4 is currently very close to zero.
This is a huge PR. Is it possible to break it into smaller PRs such that it is less risky and easier to review?
This is a huge PR. Is it possible to break it into smaller PRs such that it is less risky and easier to review?
It's not easy to split this PR now. :-) I run this PR with testing farm. That can avoid test issue imported by this PR.
- rhel 9.5 (x86_64): https://artifacts.osci.redhat.com/testing-farm/41ee2c13-5089-4578-91bb-92cb56f8e40f
- rhel 9.5 (aarch64): https://artifacts.osci.redhat.com/testing-farm/d553cd14-cce6-4340-903c-ee2b38fa5feb
- centos stream 9 (aarch64): https://artifacts.osci.redhat.com/testing-farm/25a63390-4026-4959-9e5a-495dfa0801a3
- fedora 40 (x86_64): https://artifacts.osci.redhat.com/testing-farm/338cafff-eee7-46f0-af50-2e8f9ef23a11
This PR is ready to merge now.