summaryrefslogtreecommitdiffstats
path: root/xci/xci-deploy.sh
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-02-21 08:51:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-21 08:51:50 +0000
commited431a8860d1a9f977e2bf30465ef09b835defbb (patch)
tree93127b4a60e70c6ebc5894f4c5f0f4108752a04b /xci/xci-deploy.sh
parent063a98d2a9b69c60f4cb443f7af03b53ea5d4736 (diff)
parent247a101c20df114bc1d07c3341bcc16e44968181 (diff)
Merge "xci: xci-deploy.sh: Calculate and print the total deployment time"
Diffstat (limited to 'xci/xci-deploy.sh')
-rwxr-xr-xxci/xci-deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh
index 18c8bb22..1eeaf3b2 100755
--- a/xci/xci-deploy.sh
+++ b/xci/xci-deploy.sh
@@ -168,4 +168,10 @@ echo "Info: Deploying '${XCI_INSTALLER}' installer"
echo "-----------------------------------------------------------------------"
source ${XCI_PATH}/xci/installer/${XCI_INSTALLER}/deploy.sh
+# Deployment time
+xci_deploy_time=$SECONDS
+echo "-------------------------------------------------------------------------------------------------------------"
+echo "Info: xci_deploy.sh deployment took $(($xci_deploy_time / 60)) minutes and $(($xci_deploy_time % 60)) seconds"
+echo "-------------------------------------------------------------------------------------------------------------"
+
# vim: set ts=4 sw=4 expandtab: