action #120696
closedcoordination #121828: [epic] Unify YaST and Migration CIs and job groups
Fix broken GitLab CI and consolidate CI docker images
0%
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
Updated by JERiveraMoya about 2 years ago
- Status changed from New to In Progress
- Assignee set to rainerkoenig
Updated by JERiveraMoya about 2 years 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
Updated by rainerkoenig about 2 years 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
Updated by szarate about 2 years ago
Anton recently did some changes to qam-maintenance-yaml
to do something here too, perhaps use that one?
Updated by rainerkoenig about 2 years 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"...
Updated by szarate about 2 years 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 :)
Updated by rainerkoenig about 2 years ago
Step 3 status update¶
- Moved the image to a safe location. MR to apply the new location
- Wrote a HowTo document to explain, how to move an OBS image to the safe place
Updated by slo-gin about 2 years 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.
Updated by rainerkoenig about 2 years ago
- Priority changed from Urgent to Normal
Updated by JERiveraMoya about 2 years ago
- Status changed from In Progress to Resolved
Updated by JERiveraMoya about 2 years ago
- Related to coordination #121828: [epic] Unify YaST and Migration CIs and job groups added