Project

General

Profile

Actions

action #93988

closed

build openqa-review container within OBS with ca-certificates-suse package

Added by okurz almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
Start date:
2021-06-14
Due date:
2021-06-25
% Done:

0%

Estimated time:

Description

Motivation

see #93710#note-12 . We build https://build.suse.de/package/show/home:okurz:container/openqa-review with certificates from ca.suse.de but likely within IBS the package is not rebuilt on package updates. We have https://build.opensuse.org/package/show/home:okurz:container/openqa-review but that is missing CA repos. Instead we can now use https://build.opensuse.org/package/show/openSUSE:infrastructure/ca-certificates-suse so we should create a new project, e.g. a non-personal one (open for ideas where), with said repo enabled building openqa-review and use that in the gitlab.suse.de project.

Acceptance criteria

Suggestions

  • Find a good new place for the container
  • Configure to use the CA repo in the container project
  • Verify that openqa-review in the newly built container can read from OSD
  • Update https://gitlab.suse.de/openqa/openqa-review to use the new container
Actions #1

Updated by okurz almost 3 years ago

container from https://build.opensuse.org/project/show/home:okurz:container:ca works fine. Verified with

openqa-review -v --host https://openqa.suse.de

in the container running

podman run --rm -it registry.opensuse.org/home/okurz/container/ca/containers/tumbleweed:openqa-client

locally.

EDIT: Yes, that's "openqa-client" which is misnamed. Corrected :)

Actions #2

Updated by okurz almost 3 years ago

  • Due date set to 2021-06-25
  • Status changed from In Progress to Feedback
Actions #3

Updated by jbaier_cz almost 3 years ago

According to this job, python-openqa_review inside the container still does not know the parameter --skip-passed. There is an old version inside the container as can be seen from the:

$ zypper info $(zypper se -i openqa_review | grep ^i | cut -f2 -d\|)
Loading repository data...
Reading installed packages...
Information for package python38-openqa_review:
-----------------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : python38-openqa_review
Version        : 1.21.0-1.1
Arch           : noarch
Vendor         : openSUSE
Installed Size : 266.8 KiB
Installed      : Yes
Status         : out-of-date (version 1.20.4-1.4 installed)
Source package : python-openqa_review-1.21.0-1.1.src
Summary        : A review helper script for openQA
Description    : 
    A review helper script for openQA. For more details look into the README file.

Apparently, although there is a newer version of the package, the container was not rebuild.

Actions #4

Updated by okurz almost 3 years ago

Well, https://gitlab.suse.de/openqa/openqa-review/-/merge_requests/3 wasn't merged yet so this is why the container in the main pipeline does not have the new version yet. I have merged the MR now.

Actions #5

Updated by jbaier_cz almost 3 years ago

I "backported" the patch into my fork as well to actually test the new container. But as we already clarified, the problem was solved by waiting longer. The container updates with a new Tumbleweed snapshot, not with a new package version in Factory.

Actions #6

Updated by okurz almost 3 years ago

  • Status changed from Feedback to Resolved

https://gitlab.suse.de/openqa/openqa-review/-/jobs/467698/raw shows the correct container image being used.

Actions

Also available in: Atom PDF