openQA icon indicating copy to clipboard operation
openQA copied to clipboard

Distribute openqa_devel container with podman

Open d3flex opened this issue 8 months ago • 2 comments

Running the openqa_devel as it is described, there is a complication of running scripts, which whatever their intention it should not fail. one of them is the static_check_containers which runs by default with podman but the container lacks the executable.

d3flex avatar May 09 '25 08:05 d3flex

Could you give an example which error is to be fixed here? Maybe some steps to reproduce the issue? Installing podman within the container doesn't look right to me.

aylen384 avatar May 09 '25 10:05 aylen384

Could you give an example which error is to be fixed here? Maybe some steps to reproduce the issue? Installing podman within the container doesn't look right to me.

Running podman run --rm -v /home/iob/openqadev/openQA/:/opt/openqa -e CHECKSTYLE=1 openqa_devel:latest make run-tests-within-container it attempts to run tools/static_check_containers which expects a container engine in the environment. the error comes, simply from the fact that CONTAINER_TEST is enabled and the environment doesnt have podman.

However it was discussed and this changes seems is minor and possible not needed. Unless you decide otherwise

d3flex avatar May 09 '25 18:05 d3flex