Actions
action #101442
closedcoordination #90086: [epic] Refactor container tests
Create factory class to create the container engine object
Start date:
2021-10-25
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Currently, we are doing:
my $engine = containers::engine::docker->new();
or
my $engine = containers::engine::podman->new();
To make the creation of the object and make it more flexible,
we have the job variable CONTAINER_RUNTIME
, so we could make
use of it like this:
my $engine = containers::engine:->new(get_required_var('CONTAINER_RUNTIME');
This would return the object podman or docker depending on the given argument.
Updated by jlausuch over 3 years ago
- Status changed from New to In Progress
- Assignee set to jlausuch
Updated by jlausuch over 3 years ago
- Status changed from In Progress to Resolved
Updated by jlausuch about 3 years ago
- Status changed from Resolved to In Progress
All the modules still need to make use of Factory. The PR was showing only an example of 2 modules doing that, but we need to do that in all the others.
Updated by jlausuch about 3 years ago
- Status changed from In Progress to Feedback
Updated by jlausuch about 3 years ago
Actions