tests: enable koji.sh test on RHEL-9

This commit is contained in:
Jakub Rusz 2021-10-05 17:40:28 +02:00 committed by Alexander Todorov
parent 9e7e16c9cf
commit 1a7858c196
3 changed files with 5 additions and 11 deletions

View file

@ -18,9 +18,8 @@ elif [[ $ID == rhel || $ID == centos ]] && [[ ${VERSION_ID%.*} == 9 ]]; then
curl -LO --insecure https://hdn.corp.redhat.com/rhel8-csb/RPMS/noarch/redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm
sudo dnf install -y ./redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm dnf-plugins-core
sudo dnf copr enable -y copr.devel.redhat.com/osbuild-team/epel-el9 "rhel-9.dev-$ARCH"
# koji is not available yet apparently
# jmespath required for json_query
sudo dnf install -y ansible-core python3-jmespath
sudo dnf install -y ansible-core koji python3-jmespath
# json_query filter, used in our ansible playbooks, was moved to the
# 'community.general' collection