diff options
author | QiLiang <liangqi1@huawei.com> | 2018-03-20 16:28:38 +0800 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2018-03-20 16:29:16 +0800 |
commit | 63a58db0eed6119ebceaeb74a5bd552a00c742c6 (patch) | |
tree | b0847f62f265362557abc7d3715030c38bc120c5 /ci | |
parent | 5c14f7b2495c81f67f304d57e1030dabd7c8b4ac (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>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 21 |
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 |