]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-installer-rpm: remove usage of 'sg' 601/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 16 Dec 2016 16:50:29 +0000 (10:50 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 16 Dec 2016 16:50:29 +0000 (10:50 -0600)
The sepia nodes, using JNLP, are having troubles building these rpms so
let's just use OVH nodes until we can resolve this.

The issue being that mock runs fine if we use 'sg', but the noarch rpm
is never built.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-installer-rpm/build/build

index 85376ed66d4a13cd3557f4c9a7db0d2266509a6f..ae0958ef4e2290f479250feab252fcd4c45a0d7b 100644 (file)
@@ -14,9 +14,10 @@ sudo yum -y install fedpkg
 
 # Add the Jenkins slave UID to the mock group.
 sudo usermod -a -G mock $(whoami)
+newgrp mock
 
 # Attempt the build. If it fails, print the mock logs to STDOUT.
-sg mock -c "make rpm" || ( tail -n +1 {root,build}.log && exit 1 )
+make rpm || ( tail -n +1 {root,build}.log && exit 1 )
 
 # Chacra time