From 938f2e0ba88d48d14a0a123e53738070306c15bf Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Wed, 7 Oct 2020 19:08:00 +0200 Subject: [PATCH] schutzbot: enable EPEL in RHEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The osbuild-composer-tests package recently started to list its actual dependencies, which include packages from EPEL. Enable EPEL in deploy.sh. Based on this patch by Ondřej Budai : https://github.com/osbuild/osbuild-composer/pull/1022 --- schutzbot/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index 1a031e24..23fc5400 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -53,6 +53,11 @@ cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null sudo cp osbuild-mock.repo /etc/yum.repos.d/osbuild-mock.repo sudo dnf repository-packages osbuild-mock list +if [[ $ID == rhel ]]; then + # Set up EPEL repository (for ansible and koji) + sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm +fi + # Install the Image Builder packages. # Note: installing only -tests to catch missing dependencies retry sudo dnf -y install osbuild-composer-tests