]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible/-installer: explicitly install mock 694/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 27 Apr 2017 15:02:51 +0000 (09:02 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 27 Apr 2017 15:04:55 +0000 (09:04 -0600)
It appears that Yum is not installing "mock" when installing fedpkg
(with fedpkg-1.28-1.el7). Explicitly install it in our build steps.

ceph-ansible-rpm/build/build
ceph-installer-rpm/build/build

index ae0958ef4e2290f479250feab252fcd4c45a0d7b..1f642545521cbf4abf8cf04037929c20db143049 100644 (file)
@@ -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)
index ae0958ef4e2290f479250feab252fcd4c45a0d7b..1f642545521cbf4abf8cf04037929c20db143049 100644 (file)
@@ -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)