]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build-ceph-deb-native: time out build (2 hours)
authorSage Weil <sage@redhat.com>
Sat, 17 Oct 2015 17:56:08 +0000 (13:56 -0400)
committerSage Weil <sage@redhat.com>
Sat, 17 Oct 2015 17:56:08 +0000 (13:56 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
build-ceph-deb-native.sh

index c27ca16054a25189c869034f9888868eb4e72f96..a4c12c09c00f27ce93de5a299159e96a87af53c4 100755 (executable)
@@ -55,7 +55,7 @@ fi
 # build the debs
 mkdir -p out~
 rm -rf out~/* || true
-GNUPGHOME="/srv/gnupg" ionice -c3 nice -n20 /srv/ceph-build/build_snapshot_native.sh out~ $DIST
+GNUPGHOME="/srv/gnupg" ionice -c3 nice -n20 timeout 2h /srv/ceph-build/build_snapshot_native.sh out~ $DIST
 
 VER=`cat out~/version`
 echo "VER is $VER"