action #101444
Updated by jlausuch over 2 years ago
Currently we have these 2 functions in `lib/containers/common.pm`: `install_podman_when_needed` `install_docker_when_needed` The idea of this ticket is to move this logic to `engine.pm`, and simply do: `$engine->install()` This way, so when we create the object `engine` via Factory class, `my $engine = $self->containers_factory('podman');` containers::engine:->new(get_required_var('CONTAINER_RUNTIME');` The object creation via Factory class, should also install the packages and `configure_insecure_registries` , so we don't need to do that in the tests every time. tests. This depends on https://progress.opensuse.org/issues/90086