#!/bin/bash -e

echo "#######################################################################"
echo "# Installation tests"
"${0%/*}"/build-artifacts.sh
shopt -s extglob
dnf install -y exported-artifacts/!(*src).rpm
echo "#######################################################################"


#!/bin/bash -e

echo "#######################################################################"
echo "# Installation tests"
"${0%/*}"/build-artifacts.sh
shopt -s extglob
pushd exported-artifacts
    rm -f /etc/yum.conf
    dnf reinstall -y system-release dnf
    [[ -d /etc/dnf ]] && [[ -x /usr/bin/dnf ]] && dnf -y reinstall dnf-conf
    [[ -d /etc/dnf ]] && sed -i -re 's#^(reposdir *= *).*$#\1/etc/yum.repos.d#' '/etc/dnf/dnf.conf'
    [[ -e /etc/dnf/dnf.conf ]] && echo "deltarpm=False" >> /etc/dnf/dnf.conf
    rm -f /etc/yum/yum.conf

    dnf repolist enabled
    dnf clean all
    dnf install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

    dnf module enable pki-deps javapackages-tools
    dnf --downloadonly install *noarch.rpm

popd
echo "#######################################################################"


Allow oVirt dependencies when testing created RPMs
Allow oVirt dependencies when testing created RPMs

Change-Id: I5ad9c0100d90fd5bd01bb4e643ac30c4b49c4653
Signed-off-by: Martin Perina <7bf83f5b771f1cc16b652b5fe02fa33310bda7b0@redhat.com>
