action #93988
closedbuild openqa-review container within OBS with ca-certificates-suse package
0%
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¶
- AC1: https://gitlab.suse.de/openqa/openqa-review/-/pipelines uses a container from OBS that is able to access OSD as well
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
Updated by okurz over 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 :)
Updated by okurz over 3 years ago
- Due date set to 2021-06-25
- Status changed from In Progress to Feedback
Updated by jbaier_cz over 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.
Updated by okurz over 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.
Updated by jbaier_cz over 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.
Updated by okurz over 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.