From 206a9694faa3c63a4ae78f65db1a0a6d96e722cd Mon Sep 17 00:00:00 2001 From: Sanjay Jangid <136222049+sanjay20m@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:53:57 +0530 Subject: [PATCH] Fix: Enable local YUM repo by default in CentOS8 and Fedora35 entrypoints - Changed enabled=0 to enabled=1 in local.repo - Updated baseurl to use ${LOCAL_REPO_DIRECTORY} - Removed redundant yum-config-manager --enable command - Ensures local RPMs are properly tested in CI for both CentOS8 and Fedora35 Signed-off-by: Sanjay Jangid <136222049+sanjay20m@users.noreply.github.com> --- tests/release/docker/centos8/entrypoint.sh | 8 ++++---- tests/release/docker/fedora35/entrypoint.sh | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/release/docker/centos8/entrypoint.sh b/tests/release/docker/centos8/entrypoint.sh index c118b1fe5..c7861ad5c 100755 --- a/tests/release/docker/centos8/entrypoint.sh +++ b/tests/release/docker/centos8/entrypoint.sh @@ -22,17 +22,17 @@ : ${LOCAL_REPO_DIRECTORY:=/local-repository} if [[ -d ${LOCAL_REPO_DIRECTORY} ]]; then echo "Setting up local-repository" - createrepo /local-repository + createrepo "${LOCAL_REPO_DIRECTORY}" cat >/etc/yum.repos.d/local.repo </etc/yum.repos.d/local.repo <