test/integration.sh: install podman-plugins from RPMRepo

The nightly disappeared again. We now have an 8.4.0 snapshot that contains
the package. Let's use it.
This commit is contained in:
Ondřej Budai 2020-12-15 16:39:29 +01:00 committed by Ondřej Budai
parent eae9efeba9
commit 4603578b62

View file

@ -16,20 +16,20 @@ if [[ $ID == rhel ]] && ! rpm -q epel-release; then
fi
# HACK: podman-plugins was only recently added to RHEL. Fetch it from the
# internal RHEL 8.3.1 repository until that is released. On Fedora,
# podman-plugins is installed in the koji-osbuild-tests package. Please adjust
# the spec file to do the same on RHEL before removing this block.
# RHEL 8.4.0 snapshot until 8.3.1 released (we don't do z-stream snapshots).
# On Fedora, podman-plugins is installed in the koji-osbuild-tests package.
# Please adjust the spec file to do the same on RHEL before removing this block.
greenprint "Install the podman dnsname plugin"
if [[ $ID == rhel ]]; then
sudo tee /etc/yum.repos.d/rhel-8-3-1.repo << EOF
[rhel-8-3-1]
name = RHEL 8.3.1 override
baseurl = http://download.devel.redhat.com/rhel-8/nightly/RHEL-8/RHEL-8.3.1-20201130.n.2/compose/AppStream/x86_64/os
sudo tee /etc/yum.repos.d/rhel-8-4-0.repo << EOF
[rhel-8-4-0]
name = RHEL 8.4.0 override
baseurl = https://rpmrepo.osbuild.org/v1/psi/el8/el8-x86_64-appstream-8.4.0.n-20201201
enabled = 0
gpgcheck = 1
EOF
sudo dnf -y install '--disablerepo=*' --enablerepo=rhel-8-3-1 podman-plugins
sudo dnf -y install '--disablerepo=*' --enablerepo=rhel-8-4-0 podman-plugins
fi
greenprint "Fetching RPMs"