From 6a1b9f17ce71763339e75a4df66bb9b17d25d612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 7 Oct 2020 14:31:35 +0200 Subject: [PATCH] test: enable epel on RHEL I broke master by merging #1021 - ansible and koji are not in the official RHEL repositories so we need to enable epel on RHEL to be able to get them. --- schutzbot/deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index 72ea97f4e..044f22687 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -58,6 +58,12 @@ greenprint "Setting up a dnf repository for the RPMs we built via mock" sudo cp osbuild-mock.repo /etc/yum.repos.d/osbuild-mock.repo sudo dnf repository-packages osbuild-mock list +if [[ $ID == rhel ]]; then + greenprint "Setting up EPEL repository" + # we need this for ansible and koji + sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm +fi + greenprint "Installing the Image Builder packages" # Note: installing only -tests to catch missing dependencies retry sudo dnf -y install osbuild-composer-tests