Skip to content

Commit

Permalink
fix: fixed rhc dependency issue for downstream PR testing
Browse files Browse the repository at this point in the history
Running Pr jobs downstream fails because sometimes beaker
composes dont have client tools installed, by adding this
rhc install it will help mitigate dependency issues.
  • Loading branch information
archana-redhat authored and Lorquas committed Aug 8, 2024
1 parent d6e1536 commit cf828cc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions systemtest/copr-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ VERSION_MAJOR=$(echo ${VERSION_ID} | cut -d '.' -f 1)
COPR_REPO="${ID}-${VERSION_MAJOR}-$(uname -m)"

#get yggdrasil
curl https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/$ID-$VERSION_MAJOR/group_yggdrasil-latest-$ID-$VERSION_MAJOR.repo \
-o /etc/yum.repos.d/yggdrasil.repo

dnf copr -y enable @yggdrasil/latest ${COPR_REPO}
dnf install -y yggdrasil yggdrasil-worker-package-manager --disablerepo=* --enablerepo=*yggdrasil*

#Install rhc for dependencies
dnf install -y rhc

# These PR packit builds have an older version number for some reason than the released...
dnf remove -y rhc
dnf remove -y --noautoremove rhc
dnf copr -y enable packit/RedHatInsights-rhc-${ghprbPullId} ${COPR_REPO}
dnf install -y rhc --disablerepo=* --enablerepo=*rhc*

0 comments on commit cf828cc

Please sign in to comment.