Project

General

Profile

Actions

action #159747

closed

Consolidate openQA related containers size:S

Added by jbaier_cz 17 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2024-04-29
Due date:
% Done:

0%

Estimated time:

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


Related issues 1 (0 open1 closed)

Related to openQA Project - action #129883: all-in-one openQA container solutionResolvedokurz

Actions
Actions #1

Updated by jbaier_cz 17 days ago

  • Related to action #129883: all-in-one openQA container solution added
Actions #2

Updated by jbaier_cz 17 days ago

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?
Actions #3

Updated by jbaier_cz 17 days ago

  • Status changed from New to In Progress
Actions #4

Updated by jbaier_cz 17 days ago

devel:openQA:ci/dependency_bot should be handled by https://build.opensuse.org/request/show/1170800 and https://github.com/os-autoinst/openQA/pull/5603; it might break stuff

Actions #5

Updated by jbaier_cz 17 days ago

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.

Actions #6

Updated by jbaier_cz 17 days ago

Actions #7

Updated by openqa_review 16 days ago

  • Due date set to 2024-05-14

Setting due date based on mean cycle time of SUSE QE Tools

Actions #8

Updated by okurz 14 days ago

  • Subject changed from Consolidate openQA related containers to Consolidate openQA related containers size:S
  • Description updated (diff)
Actions #9

Updated by jbaier_cz 14 days ago

A little documentation update inside https://github.com/os-autoinst/openQA/pull/5609

Actions #10

Updated by jbaier_cz 14 days ago

And the final bit (which might again break stuff, but shouldn't) is https://github.com/os-autoinst/openQA/pull/5610 and https://build.opensuse.org/request/show/1171373.

Actions #11

Updated by livdywan 9 days ago

  • Status changed from In Progress to Feedback

jbaier_cz wrote in #note-10:

And the final bit (which might again break stuff, but shouldn't) is https://github.com/os-autoinst/openQA/pull/5610 and https://build.opensuse.org/request/show/1171373.

Merged and Accepted respectively. Are we good here then?

Actions #12

Updated by jbaier_cz 8 days ago

  • 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.

Actions

Also available in: Atom PDF