summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2018-03-20 16:28:38 +0800
committerQiLiang <liangqi1@huawei.com>2018-03-20 16:29:16 +0800
commit63a58db0eed6119ebceaeb74a5bd552a00c742c6 (patch)
treeb0847f62f265362557abc7d3715030c38bc120c5
parent5c14f7b2495c81f67f304d57e1030dabd7c8b4ac (diff)
Update ci deploy sequences
- Add time consuming count for each scenarios - Add istio for container4nfv Change-Id: I3ed377492d6228e1c04362fee41f8b258f8ffd5a Signed-off-by: QiLiang <liangqi1@huawei.com>
-rwxr-xr-xci/deploy.sh21
1 files changed, 17 insertions, 4 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 7d71ff3..dda7d8c 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -17,7 +17,20 @@
set -ex
-../src/vagrant/kubeadm_basic/deploy.sh
-../src/vagrant/kubeadm_multus/deploy.sh
-../src/vagrant/kubeadm_virtlet/deploy.sh
-../src/vagrant/kubeadm_ovsdpdk/deploy.sh
+# Scenario sequence rules:
+# - stable first
+# - less time consuming first
+SCENARIOS="kubeadm_basic
+ kubeadm_multus
+ kubeadm_virtlet
+ kubeadm_ovsdpdk
+ kubeadm_istio
+"
+
+for SCENARIO in $SCENARIOS; do
+ START=$(date +%s)
+ ../src/vagrant/${SCENARIO}/deploy.sh
+ END=$(date +%s)
+ DIFF=$(( $END - $START ))
+ echo "Scenario $SCENARIO tooks $DIFF seconds."
+done