Code Review
/
container4nfv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
70cc9a0
)
Fix ci deploy hanging issue
77/54277/1
author
QiLiang
<liangqi1@huawei.com>
Thu, 22 Mar 2018 02:03:17 +0000
(10:03 +0800)
committer
QiLiang
<liangqi1@huawei.com>
Thu, 22 Mar 2018 02:10:52 +0000
(10:10 +0800)
- add timeout for each scenarios
link:
https://build.opnfv.org/ci/view/container4nfv/job/container4nfv-daily-deploy-master/79
Change-Id: I6dfe7b50a6649e25e88dcec5f57ae9a26efe5e52
Signed-off-by: QiLiang <liangqi1@huawei.com>
ci/deploy.sh
patch
|
blob
|
history
diff --git
a/ci/deploy.sh
b/ci/deploy.sh
index
5efe88b
..
58f8385
100755
(executable)
--- 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."