From: Ken Dreyer Date: Thu, 27 Apr 2017 15:02:51 +0000 (-0600) Subject: ceph-ansible/-installer: explicitly install mock X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8e4aea5c32e38a5d9d49e111dbb23c46ef412569;p=ceph-build.git ceph-ansible/-installer: explicitly install mock It appears that Yum is not installing "mock" when installing fedpkg (with fedpkg-1.28-1.el7). Explicitly install it in our build steps. --- diff --git a/ceph-ansible-rpm/build/build b/ceph-ansible-rpm/build/build index ae0958ef..1f642545 100644 --- a/ceph-ansible-rpm/build/build +++ b/ceph-ansible-rpm/build/build @@ -10,7 +10,7 @@ set -ex PACKAGE=${JOB_NAME%-rpm} sudo yum -y install epel-release -sudo yum -y install fedpkg +sudo yum -y install fedpkg mock # Add the Jenkins slave UID to the mock group. sudo usermod -a -G mock $(whoami) diff --git a/ceph-installer-rpm/build/build b/ceph-installer-rpm/build/build index ae0958ef..1f642545 100644 --- a/ceph-installer-rpm/build/build +++ b/ceph-installer-rpm/build/build @@ -10,7 +10,7 @@ set -ex PACKAGE=${JOB_NAME%-rpm} sudo yum -y install epel-release -sudo yum -y install fedpkg +sudo yum -y install fedpkg mock # Add the Jenkins slave UID to the mock group. sudo usermod -a -G mock $(whoami)