summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/deploy.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 5efe88b..58f8385 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -26,9 +26,11 @@ SCENARIOS="kubeadm_basic
kubeadm_istio
"
+DEFAULT_TIMEOUT=3600
+
for SCENARIO in $SCENARIOS; do
START=$(date +%s)
- ../src/vagrant/${SCENARIO}/deploy.sh
+ timeout ${DEFAULT_TIMEOUT} ../src/vagrant/${SCENARIO}/deploy.sh
END=$(date +%s)
DIFF=$(( $END - $START ))
echo "Scenario $SCENARIO tooks $DIFF seconds."