xci: xci-deploy.sh: Calculate and print the total deployment time 19/52319/3
authorMarkos Chandras <mchandras@suse.de>
Mon, 19 Feb 2018 18:24:58 +0000 (18:24 +0000)
committerMarkos Chandras <mchandras@suse.de>
Mon, 19 Feb 2018 21:55:44 +0000 (21:55 +0000)
commit247a101c20df114bc1d07c3341bcc16e44968181
treef5ee6b8c4c7cd8fde28f88c02b3874b1494cd136
parent4fc1a145810a25f6b537368ab014f7e0684dea73
xci: xci-deploy.sh: Calculate and print the total deployment time

It's useful to know how XCI performs in terms of duration time so
use the bash $SECONDS variable to calculate the total amount of time
it takes for a full XCI deployment. Moreover, use the 'ts' command to
print a timestamp for every command executed. This will help developers
identify tasks which take a lot of time to complete and possibly
optimize them.

Change-Id: I75a8cb8c05957bb205e63210d6cafaf54d989f32
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/scripts/vm/start-new-vm.sh
xci/xci-deploy.sh