Skip to content

Commit

Permalink
centos/pacific: use ganesha from download.ceph.com
Browse files Browse the repository at this point in the history
We can now use stable nfs-ganesha release (3.5) from download.ceph.com
instead of CentOS buildlogs.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit b1a29c1)
  • Loading branch information
dsavineau committed Mar 16, 2021
1 parent 6c31d16 commit 5bb374d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ceph-releases/ALL/centos/daemon-base/__DOCKERFILE_INSTALL__
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ bash -c ' \
if [ -n "__GANESHA_PACKAGES__" ]; then \
echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; \
echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; \
if [[ "${CEPH_VERSION}" =~ master|pacific ]]; then \
if [[ "${CEPH_VERSION}" == master ]]; then \
echo "baseurl=https://buildlogs.centos.org/centos/\$releasever/storage/\$basearch/nfsganesha-3/" >> /etc/yum.repos.d/ganesha.repo ; \
elif [[ "${CEPH_VERSION}" == pacific ]]; then \
echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; \
echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; \
echo "enabled=1" >> /etc/yum.repos.d/ganesha.repo ; \
echo "[ganesha-noarch]" >> /etc/yum.repos.d/ganesha.repo ; \
echo "name=ganesha-noarch" >> /etc/yum.repos.d/ganesha.repo ; \
echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\$releasever/noarch/" >> /etc/yum.repos.d/ganesha.repo ; \
elif [[ "${CEPH_VERSION}" == octopus ]]; then \
echo "baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\$releasever/\$basearch/" >> /etc/yum.repos.d/ganesha.repo ; \
echo "gpgcheck=0" >> /etc/yum.repos.d/ganesha.repo ; \
Expand Down

0 comments on commit 5bb374d

Please sign in to comment.