Simran Basi | e0479af | 2014-12-02 17:09:49 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
J. Richard Barnette | 254e80d | 2015-04-20 15:07:51 -0700 | [diff] [blame] | 3 | # We have some very rudimentary command line processing, which we |
| 4 | # share with run-board-inventory. |
| 5 | |
Simran Basi | e0479af | 2014-12-02 17:09:49 -0800 | [diff] [blame] | 6 | SCRIPT_DIR=$(dirname $(readlink -f $0)) |
J. Richard Barnette | 254e80d | 2015-04-20 15:07:51 -0700 | [diff] [blame] | 7 | cd $SCRIPT_DIR/.. |
| 8 | . contrib/inventory_options |
Simran Basi | e0479af | 2014-12-02 17:09:49 -0800 | [diff] [blame] | 9 | |
Kevin Cheng | cf0ad2b | 2016-04-19 14:51:39 -0700 | [diff] [blame^] | 10 | # Let's balance out the pools for the deputies before sending the eMail. |
| 11 | site_utils/balance_pools.py --all-boards all_critical_pools |
| 12 | |
J. Richard Barnette | 96db349 | 2015-03-27 17:23:52 -0700 | [diff] [blame] | 13 | site_utils/lab_inventory.py $OPTIONS "${BOARD_NOTIFY[@]}" "${POOL_NOTIFY[@]}" |