-
Notifications
You must be signed in to change notification settings - Fork 35
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
virt-customize: do not inject any RPMs #686
Comments
Leave decision of which packages to install to the job? So package foo is built in Koji. It creates 5 rpms. foo-bar.rpm, foo-baz.rpm, foo-one.rpm, foo-two.rpm, foo-three.rpm. How is this fully automated system supposed to know which rpms to install? How is the pipeline job supposed to know? Should it have a static list for every single package that exists so it knows when curl comes through, don't install curl minimal? I don't see any fix for this that can be written in an automated way that is better than trying to install whatever rpms get pulled down from the completed koji build. |
Exactly! |
Job == Jenkins Pipeline. How is it supposed to know? |
@johnbieren just do not install any RPMs in virt-customize.sh |
Then when will they be installed? They need to be installed to test them |
Playbook which runs from package-test.sh could install them. |
Hmm interesting. That would have to be taken up with Miroslav's team, as that would be a change to standard-test-roles playbooks. If the installation was moved there, the check that the proper nvrs are installed would hopefully be moved inside as well. |
@thrix ^^ |
@Andrei-Stepanov ^^ :) |
the thing is, the staging of the packages to install is currently defined as a responsibility of the test system (the ci pipeline). Most packages which we have tests for are relying on the installation of the koji build. So we cannot just remove it. I believe the correct solution is to give @ignatenkobrain a solution to specify which packages to install (or blacklist). Or even, in the most extreme case, just do not install the packages at all and let the test handle it. |
We should start defining a ci.yml file for these cases. this is just one of the stuff we will need to custumize. This file than should be used by the CI system to customize the test environment preparation etc. |
Playbook is STR/STI. From: https://fedoraproject.org/wiki/CI/Standard_Test_Interface STI/STR tests test-environment. |
This would not work if there are conflicting subpackages. Also it's much better to leave decision of which packages to install to the job.
The text was updated successfully, but these errors were encountered: