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

Responsibility for package installation #413

Open
stanislavlevin opened this issue Dec 22, 2020 · 1 comment
Open

Responsibility for package installation #413

stanislavlevin opened this issue Dec 22, 2020 · 1 comment

Comments

@stanislavlevin
Copy link

For now, pr-ci unconditionally installs all the IPA packages:

dnf install -y /vagrant/rpms/*.rpm

This is the simplest way, yes. But it has several disadvantages, such as:

  • inability to detect missing runtime dependencies on IPA packages
  • the inability to provide VM cleared from IPA RPMs
  • the inability to provide step-by-step IPA installation combined with RPM installation
    and so on.

The problem is that RPM(install+uninstall) != initial state.
For example, freeipa/freeipa#5376

I propose to move IPA RPMs installation responsibility to ipatests:

  • place built packages(RPMs) somewhere on the filesystem on each VM
  • install nothing from them by default
  • install ipatests on the controller from RPMs storage at the provisioning phase
  • install only required packages on the setup from RPMs storage at tests runtime
@flo-renaud
Copy link
Contributor

See also freeipa #7525: [CI] Client installations are performed with server packages installed

As all the packages are installed (even the server packages on a client machine), we fail to detect packaging issues. Installing only the packages required by the machine role would definitely help.

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

No branches or pull requests

2 participants