containers: workaround for ganesha package error on reef

Currently the tests on the released reef image fails due to an RPM
transaction error when updating nfs-ganesha. Since go-ceph doesn't
need ganesha packages to be up-to-date to ensure that
lib{cephfs,rados,rbd}-devel are installed we _temporarily_ disable
ganesha repo when running yum update.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2023-08-14 15:59:08 -04:00 committed by mergify[bot]
parent 0209e5b831
commit d4eac7d990
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION}
RUN true && \ RUN true && \
echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \ echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \
[ "${CEPH_VERSION}" = "${GO_CEPH_VERSION}" ] && \ [ "${CEPH_VERSION}" = "${GO_CEPH_VERSION}" ] && \
yum update -y && \ yum update -y --disablerepo=ganesha && \
cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" && \ cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" && \
yum install -y \ yum install -y \
git wget curl make \ git wget curl make \