Project

General

Profile

Actions

action #120696

closed

coordination #121828: [epic] Unify YaST and Migration CIs and job groups

Fix broken GitLab CI and consolidate CI docker images

Added by rainerkoenig over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2022-11-17
Due date:
% Done:

0%

Estimated time:

Description

Motivation

The CI in the GitLab qa-sle-functional-y group (together with other groups) uses

image: registry.opensuse.org/home/riafarov/containers/containers/tumbleweed:qsf-y-ci

to run the CI scripts. This image got garbage collected and is no longer available.

A check revealed, that thisimage is also used in qa-sle-functional-userspace and that other groups CI also rely on docker images under /home and so might be
in danger to be deleted as well.

./qa-sle-functional-y/.gitlab-ci.yml:image: registry.opensuse.org/home/riafarov/containers/containers/tumbleweed:qsf-y-ci
./os-autoinst-needles-sles/.gitlab-ci.yml:image: registry.opensuse.org/home/okurz/container/ca/containers/tumbleweed:python
./qa-sle-functional-userspace/.gitlab-ci.yml:image: registry.opensuse.org/home/riafarov/containers/containers/tumbleweed:qsf-y-ci
./qam-openqa-yml/.gitlab-ci.yml:image: registry.opensuse.org/home/apappas/branches/opensuse/templates/images/tumbleweed/containers/tumbleweed:qem-ci
./wegao-test/.gitlab-ci.yml:image: registry.suse.de/home/okurz/container/images/openqa-client:latest

Mitigation

As a proof of concept I created

image: registry.opensuse.org/home/rainerkoenig/branches/opensuse/templates/images/tumbleweed/images/opensuse/ci-runner:latest

which seems to work (Tumbleweed with openqa-client and needed python 3 libs).

Long term goal should be

  • create a docker image that is not residing under some /home directory, but maybe under some "official" directory
  • check if all our GitLab repositories really need different images or if we just can provide one docker image that serves all needs
Actions #1

Updated by JERiveraMoya over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to rainerkoenig
Actions #2

Updated by JERiveraMoya over 1 year ago

Let's do this:
(1) Set CI with custom container created in Rainer's fork
(2) Recover previous Kiwi file contacting with admin to know exact packages installed
(3) Document how to create the personal project in OBS and exact packages needed

Actions #3

Updated by rainerkoenig over 1 year ago

Step 2 Update

Adrian Schroeter just undeleted the container definition in home:riafarov.
The dockerfile looks like this:

# Defines the tag for OBS and build script builds:
#!BuildTag: tumbleweed:qsf-y-ci

FROM opensuse/tumbleweed
RUN zypper -n in python3-yamllint python3-setuptools openQA-client make

So not much difference from what I temporarily created, maybe the python3-yamllint is missing in the temp image.

Checking of pipelines that were executed with the interim container shows:

scripts/ci_runner_test.sh: line 8: yamllint: command not found

So we need to rebuild the container again with yamllint

Actions #4

Updated by szarate over 1 year ago

Anton recently did some changes to qam-maintenance-yaml to do something here too, perhaps use that one?

Actions #5

Updated by rainerkoenig over 1 year ago

szarate wrote:

Anton recently did some changes to qam-maintenance-yaml to do something here too, perhaps use that one?

Should do, has all we need. But still suffers from residing in "home"...

Actions #6

Updated by szarate over 1 year ago

rainerkoenig wrote:

szarate wrote:

Anton recently did some changes to qam-maintenance-yaml to do something here too, perhaps use that one?

Should do, has all we need. But still suffers from residing in "home"...

I ws discussing this with Anton last Wednesday... we can put together our heads to have it in the devel:openQA project in obs.

Let's solve the urgency first (i.e, using anton's project), and then we'll continue providing a base generic image, and everybody else deriving from it, within the same project, maybe or maybe not using your proof of concept :)

Actions #7

Updated by rainerkoenig over 1 year ago

Step 3 status update

Actions #8

Updated by slo-gin over 1 year ago

This ticket was set to Urgent priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions #9

Updated by rainerkoenig over 1 year ago

  • Priority changed from Urgent to Normal
Actions #10

Updated by JERiveraMoya over 1 year ago

  • Status changed from In Progress to Resolved
Actions #11

Updated by JERiveraMoya over 1 year ago

Actions #12

Updated by JERiveraMoya over 1 year ago

  • Parent task set to #121828
Actions

Also available in: Atom PDF