[PATCH compass-ci] sparrow/3-code: add ENV INITRD_HTTP_HOST and OS_HTTP_HOST default values

18 Nov
2020
18 Nov
'20
1:23 p.m.
Using the default value server_ip is convenient for customers to set up compass CI locally. Signed-off-by: Liu Yinsi <liuyinsi@163.com> --- sparrow/3-code/dev-env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sparrow/3-code/dev-env b/sparrow/3-code/dev-env index 77027d9..8928816 100755 --- a/sparrow/3-code/dev-env +++ b/sparrow/3-code/dev-env @@ -6,6 +6,8 @@ server_name=$(hostname | cut -f1 -d.) server_ip=$(ip route get 1.2.3.4 | awk '{print $7; exit}') : ${sched_host:=$server_ip} : ${sched_port:=3000} +: ${os_http_host:=$server_ip} +: ${initrd_http_host:=$server_ip} : ${initrd_http_port:=8800} : ${MASTER_FLUENTD_HOST:=$server_ip} : ${MASTER_FLUENTD_PORT:=24224} -- 2.23.0
1563
Age (days ago)
1563
Last active (days ago)
0 comments
1 participants
participants (1)
-
Liu Yinsi