Home | History | Annotate | Download | only in contrib
      1 #!/bin/bash
      2 
      3 # We have some very rudimentary command line processing, which we
      4 # share with run-board-inventory.
      5 
      6 SCRIPT_DIR=$(dirname $(readlink -f $0))
      7 cd $SCRIPT_DIR/..
      8 . contrib/inventory_options
      9 
     10 # Let's balance out the pools for the deputies before sending the eMail.
     11 BALANCE_POOL_LOG=balance_pool.log.$(date +%Y-%m-%d)
     12 site_utils/balance_pools.py --all-boards all_critical_pools &> logs/dut-data/$BALANCE_POOL_LOG
     13 
     14 site_utils/lab_inventory.py $OPTIONS "${BOARD_NOTIFY[@]}" "${POOL_NOTIFY[@]}"
     15