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-model-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 ARGS=( --production --all-models all_critical_pools )
     13 site_utils/balance_pools.py "${ARGS[@]}" &> logs/dut-data/$BALANCE_POOL_LOG
     14 
     15 site_utils/lab_inventory.py $OPTIONS "${POOL_NOTIFY[@]}"
     16