blob: 0d90ac445c71ecb32c45d1f33313b25b6b128504 [file] [log] [blame]
#!/bin/bash
# We have some very rudimentary command line processing, which we
# share with run-pool-inventory.
SCRIPT_DIR=$(dirname $(readlink -f $0))
cd $SCRIPT_DIR/..
. contrib/inventory_options
# Balance out the pools for the deputies before sending the email.
BALANCE_POOL_LOG=balance_pool.log.$(date +%Y-%m-%d)
ARGS=( --production --all-models all_critical_pools )
site_utils/balance_pools.py "${ARGS[@]}" &> logs/dut-data/$BALANCE_POOL_LOG
site_utils/lab_inventory.py $OPTIONS "${UNTESTABLE_DETECT[@]}"