Changeset 427


Ignore:
Timestamp:
Oct 10, 2012, 12:34:24 PM (7 years ago)
Author:
amain
Message:

bitten: patch bitten slave to exit when no build jobs are available

Location:
branches/contrib/bitten/slaves
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/bitten/slaves/include/slaves.inc.sh

    r408 r427  
    3131}
    3232
     33function patches()
     34{
     35   if ! bitten-slave -h | grep -q '\--exit-no-pending'
     36   then
     37      find /usr/local/lib/python2.6/dist-packages -name 'Bitten-*' \
     38       | while read dir
     39         do
     40           sudo patch -N -p 1 -d ${dir} <${BASEDIR}/../patches/001_exit_no_pending.patch
     41         done
     42   fi
     43}
     44
    3345[ ! -f "$1" ] && usage
    3446
     
    5971EOF
    6072
     73patches
    6174bitten-slave --verbose \
    6275             --single \
     
    6679             --log ${log} \
    6780             --name ${name} \
     81             --exit-no-pending \
    6882             $@ \
    6983             ${server}
Note: See TracChangeset for help on using the changeset viewer.