action #159747
closed
Consolidate openQA related containers size:S
Added by jbaier_cz 8 months ago.
Updated 8 months ago.
Description
Observation¶
In the os-autoinst/openQA repo there are several Dockerfiles and it seems that only some of them are really used. Only a subset of the definitions is really built in OBS and another subset is documented. Some of them look similar (i.e. openqa_dev vs. openqa_devel) and without clear documentation one could hardly know it they have a similar purpose. This solution is not optimal.
Acceptance criteria¶
AC1: All containers within https://github.com/os-autoinst/openQA/tree/master/container are known, built successfully and documented
AC2: Potential duplicate containers are merged
AC3: There are no unused containers
Suggestions¶
New containers following openSUSE best practices according to #129958, we should probably prefer those when possible
- openQA/container/single-instance/Dockerfile -> devel:openQA/openQA-single-instance-container
- openQA/container/devel/Dockerfile -> devel:openQA/openQA-devel-container
Container images which are part of containerized setup (and mentioned in docs/ContainerizedSetup.asciidoc):
- openQA/container/openqa_data/Dockerfile -> not build in OBS (does not make sense to build)
- openQA/container/client/Dockerfile -> devel:openQA/openQA_container_client
- openQA/container/webui/Dockerfile -> devel:openQA/openQA_container_webUI
- openQA/container/webui/Dockerfile-lb -> devel:openQA/openQA_container_webUI_loadbalancer
- openQA/container/worker/Dockerfile -> devel:openQA/openQA_container_worker
- openQA/container/worker/Dockerfile.os-autoinst-distri-opensuse -> devel:openQA/openQA_container_worker_os_autoinst_distri_opensuse
Container used in Circle CI:
- openQA/container/devel:openQA:ci/base/Dockerfile -> devel:openQA:ci/base
Unknown usage:
- openQA/container/devel:openQA:ci/dependency_bot/Dockerfile -> devel:openQA:ci/dependency_bot
- openQA/container/ci/Dockerfile -> devel:openQA/openqa_dev
- openQA/container/openqa/Dockerfile -> probably not build in OBS, maybe used locally?
- Status changed from New to In Progress
openqa_dev
(not update Leap 15.1 version, because the path contains containers
and not containers15.5
) is used to build openqa
which is then part of some Makefile targets. Those targets are probably not used anywhere, because they are currently not working anyway (there is a bug introduced 4 year ago in https://github.com/os-autoinst/openQA/pull/3656 where one occurrence of DOCKER_IMG
variable was not replaced).
I will look if that can be easily replaced with the new openqa_devel container and change documentation accordingly. Maybe we can drop it entirely, as for CI we already have another container which can be also used locally.
- Due date set to 2024-05-14
Setting due date based on mean cycle time of SUSE QE Tools
- Subject changed from Consolidate openQA related containers to Consolidate openQA related containers size:S
- Description updated (diff)
- Status changed from In Progress to Feedback
- Due date deleted (
2024-05-14)
- Status changed from Feedback to Resolved
It also seems that everything is working as expected so yes we are good here.
Also available in: Atom
PDF