validations-libs/container
matbu 2ecbf375a6 Add validation container entry point
This patch add a python script to handle the VF within a container.
The goal is to offer a way to use the VF without installing it on
the host, only podman or docker is required.

Examples:

1/ building the container:
./validation --build

2/ run a Validation with local inventory:
./validation --run -I installer/hosts.yaml --cmd run --validation check-ram --validation check-ram --inventory /root/inventory.yaml

3/ run a Validation with interactive option:
./validation --run -i

Starting container
Running podman run -ti -v/root/.ssh/id_rsa:/root/containerhost_private_key:z -v/root/validations:/root/validations:z localhost/validation validation
(validation) run --validation check-ram

Log files are store on the host:
ls /home/foo/validations/

Change-Id: Iad172191353f7c7cc016bc5030a849a1dd792aea
2022-05-27 14:47:21 +02:00
..
validation Add validation container entry point 2022-05-27 14:47:21 +02:00