summaryrefslogtreecommitdiffstats
path: root/xci
diff options
context:
space:
mode:
Diffstat (limited to 'xci')
-rwxr-xr-xxci/scripts/vm/start-new-vm.sh2
-rwxr-xr-xxci/xci-deploy.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh
index 70dc4efb..4e860b54 100755
--- a/xci/scripts/vm/start-new-vm.sh
+++ b/xci/scripts/vm/start-new-vm.sh
@@ -335,7 +335,7 @@ if [[ $? != 0 ]]; then
#!/bin/bash
export XCI_FLAVOR=mini
cd ~/releng-xci/xci
-./xci-deploy.sh
+./xci-deploy.sh | ts
EOF
# Copy again
do_copy
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: