-
Notifications
You must be signed in to change notification settings - Fork 354
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
webui: Stop pinning cockpit package versions, support testing against a cockpit PR #5234
Conversation
e08201c
to
0e88407
Compare
We need to test the real distro, not what it was like 3 months ago. This will pave the way for gating cockpit changes on anaconda's tests (https://issues.redhat.com/browse/COCKPIT-1062). But still keep pinning firefox from commit 546cacc. Add a bug reference. This reverts commit 72ef923.
0e88407
to
249d2ac
Compare
Enumerating the RPMs in prepare-updates-img is error-prone and redundant: `build-rpms` already only downloads selected RPMs, and we already install all of anaconda's built RPMs anyway (all of them start with "anaconda-"). This will make the installation more robust when the set of RPMs becomes more dynamic.
The three downloaded RPMs are tiny, and even the dnf metadata download should not take that long. If your system is too slow to download a few MB in 5 minutes, then it's not going to be able to download the large VM images. This avoids stalling the test for half an hour if the download hangs, let it fail faster instead.
We want to run Anaconda's tests in Cockpit PRs to ensure that changes to the bridge or the storage page don't break anaconda (https://issues.redhat.com/browse/COCKPIT-1062). For that, we need to be able to run the tests against a Cockpit COPR build instead of its rawhide RPMs. Support this via a `cockpit-pr-N` test scenario.
We will soon move from blivet-gui to cockpit's Storage page. This still requires some work, but already install it so that we can start writing integration tests, and keep them working via running Anaconda's tests in cockpit PRs. https://issues.redhat.com/browse/COCKPIT-1065
With this out of the way (tests passed), let's add testing against a cockpit PR and some extra cleanups. |
While the standard run now installs current cockpit from rawhide:
the cockpit-pr-19453 run installs the COPR:
Note that this run was just for demo purposes -- of course this scenario would run in a cockpit PR, not an anaconda one. |
@KKoukiou Ready for reviewing now. Thanks in advance! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean solution. Thanks for the cleanups as well!
/kickstart-test --waive webui only |
We need to test the real distro, not what it was like 3 months ago. This will pave the way for gating cockpit changes on anaconda's tests (https://issues.redhat.com/browse/COCKPIT-1062), which is supported through a scenario now.
After this lands, I'll teach cockpit's CI to run anaconda's tests with the PR's cockpit code, to make sure cockpit changes don't break anaconda.