[15-11 backport] Skip weak dependencies during install on UBI
What does this MR do?
Backport See merge request !1376 (merged) (cherry picked from commit f413e465)
Prevents weak dependencies from being installed in the ubi images.
This can be a problem, for example: when a gnutls update in the rhel repros included a recommend dependency on
trousers
which brings with > it pam,systemd and about 30 other friends.Note that the problem is resolved when the upstream ubi8 image has been updated.
Related issues
Failing release jobs in dev: https://dev.gitlab.org/gitlab/charts/components/images/-/jobs/16205422
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion
Required
-
Merge Request Title, and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com -
When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Integration tests added to GitLab QA -
The impact any change in container size has should be evaluated
Edited by Jason Plum