record the size of the tripleo logs directory

For good house keeping it will be a good idea
to be able to see the size of the logs we are sending up to openstack
infra

Change-Id: I43723a16b883e438d983c448425ad8489927f660
This commit is contained in:
Wes Hayutin 2017-07-06 18:00:05 -04:00
parent 18561332bb
commit 85574b5414
1 changed files with 4 additions and 0 deletions

View File

@ -94,5 +94,9 @@ $LOCAL_WORKING_DIR/bin/ara generate html $LOGS_DIR/ara_oooq || true
gzip --best --recursive $LOGS_DIR/ara_oooq || true
popd
# record the size of the logs directory
# -L, --dereference dereference all symbolic links
du -L -sch $LOGS_DIR &> $LOGS_DIR/log-size.txt || true
echo 'Quickstart completed.'
exit $exit_value