please ignore it.
On Fri, Jan 29, 2021 at 05:44:49PM +0800, Liu Yinsi wrote:
[how] before: all containers services ip is the host locally server ip after: if $server_ip is not null, all containers services ip is $server_ip
[why] if container services deploy in other server, add param $server_ip will easy to deploy, rather than change config yaml manually.
Signed-off-by: Liu Yinsi liuyinsi@163.com
setup/simplify-ci | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/setup/simplify-ci b/setup/simplify-ci index df18272f3..4b26e3bcb 100755 --- a/setup/simplify-ci +++ b/setup/simplify-ci @@ -2,8 +2,7 @@ # SPDX-License-Identifier: MulanPSL-2.0+ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
-: ${SCHED_HOST:=172.17.0.1} -: ${SCHED_PORT:=3000} +server_ip=$1
git_ci() { @@ -21,7 +20,7 @@ dev_env() { export sched_host=$SCHED_HOST export sched_port=$SCHED_PORT
- 3-code/dev-env
- 3-code/dev-env $server_ip
}
install_env()
2.23.0