-
Notifications
You must be signed in to change notification settings - Fork 425
Enable packit copr-builds and testing #2249
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
Conversation
|
/packit test rpm-software-management/libdnf#1711 |
|
/packit build rpm-software-management/libdnf#1711 |
|
/packit build |
|
/packit test |
|
Regarding the failing tests:
|
|
The changes look good. One thing I don't understand: HowePackit knows where to take builds for testing. Does "job: tests" expect builds in the immediately preceding "job: copr_build"? Otherwise, I don't understand why the two "job: copr_build" YAML subtrees cannot be merged into one with multiple "targets" items. |
https://packit.dev/docs/configuration/upstream/tests does not explicitly states it, but it seems probable that builds from all "job: copr_build" are used for all "job: tests" and they are paired automatically by a target. |
|
Right, I also think it can be just one It just didn't occur to me. |
I have replaced centos-stream-9 target with centos-stream+epel-next-9 in dnf-nightly configuration because dnf-plugin-extras needs rpmconf which is only in EPEL. Do packit targets need to match dnf-nightly Copr targets? |
It includes dnf-nightly because when we increase the minimal required version it might not be released yet.
It it likely needed here even more because the centos builds are not updated as frequently as fedora builds.
copr_build job works with centos-stream+epel-next-9 but tests job does not know that name:
Obviously they are of different kind and TMT does not recognize it. I recommend opening a bug against Packit. If you want, you can change a target for dnf-bootc-tests back to "centos-stream-9-x86_64", while keeping a target for copr_build as it is. Otherwise, I will merge this pull request as it is. |
…xt-9-x86_64` This is required because rpmsoftwaremanagement/dnf-nightly switched to it as well. We keep the `tests` job as `centos-stream-9-x86_64` because `Testing Farm` doesn't recognize `centos-stream+epel-next-9-x86_64`.
That is a good idea, lets try that. |
|
That's funny. The "tests" job for a target missing from "copr_build" job simply synthesized and executed a matching copr_build job. |
No description provided.