From b3ad639258bf5869a5148a3100cf33319b1df208 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Mon, 26 Aug 2024 10:07:33 +0530 Subject: [PATCH] Enable weak deps for tempest-all container image tempest-all with [1] for downstream case includes some rpms as weak deps and in order to get those pulled when available in repos we need to enable weak deps config which is disabled in base container image. [1] https://review.rdoproject.org/r/c/openstack/tempest-distgit/+/54169 Related-Issue: OSPRH-5436 Related-Issue: OSPRH-6334 --- .../tcib/base/os/tempest/tempest-all/tempest-all.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/container-images/tcib/base/os/tempest/tempest-all/tempest-all.yaml b/container-images/tcib/base/os/tempest/tempest-all/tempest-all.yaml index 2d85e92d..848f7c36 100644 --- a/container-images/tcib/base/os/tempest/tempest-all/tempest-all.yaml +++ b/container-images/tcib/base/os/tempest/tempest-all/tempest-all.yaml @@ -2,6 +2,7 @@ tcib_envs: USE_EXTERNAL_FILES: true TEMPESTCONF_OCTAVIA_TEST_SERVER_PATH: /usr/libexec/octavia-tempest-plugin-tests-httpd tcib_actions: +- run: crudini --set /etc/dnf/dnf.conf main install_weak_deps True - run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }} - run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf - run: cp /usr/share/tcib/container-images/tcib/base/os/tempest/tempest_sudoers /etc/sudoers.d/tempest_sudoers