Project

General

Profile

Actions

action #101444

closed

coordination #90086: [epic] Refactor container tests

Move install_podman_when_needed and install_docker_when_needed to engine class.

Added by jlausuch over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
2021-10-25
Due date:
% Done:

0%

Estimated time:

Description

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, when we create the object engine via Factory class,

my $engine = $self->containers_factory('podman');

should also install the packages and configure_insecure_registries , so we don't need to do that in the tests every time.

This depends on https://progress.opensuse.org/issues/90086

Actions

Also available in: Atom PDF