[PATCH compass-ci] sparrow: ignore containers when deploy

scheduler-https, conserver, web-backend-nginx no need to deploy. Signed-off-by: Liu Yinsi <liuyinsi@163.com> --- sparrow/4-docker/buildall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sparrow/4-docker/buildall b/sparrow/4-docker/buildall index 230c6ac..7698c08 100755 --- a/sparrow/4-docker/buildall +++ b/sparrow/4-docker/buildall @@ -29,7 +29,10 @@ do_one() mkdir $tmpdir/$container_name 2>/dev/null && ( cd $container - [ "$container_name" == 'sub-fluentd' ] && exit + [ "$container_name" == 'sub-fluentd' ] || \ + [ "$container_name" == 'conserver' ] || \ + [ "$container_name" == 'web-backend-nginx' ] || \ + [ "$container_name" == 'scheduler-https' ] && exit [ -x build ] && ./build [ -x install ] && ./install [ -x first-run ] && ./first-run -- 2.23.0

+++ b/sparrow/4-docker/buildall @@ -29,7 +29,10 @@ do_one() mkdir $tmpdir/$container_name 2>/dev/null && ( cd $container - [ "$container_name" == 'sub-fluentd' ] && exit + [ "$container_name" == 'sub-fluentd' ] || \ + [ "$container_name" == 'conserver' ] || \
+ [ "$container_name" == 'web-backend-nginx' ] || \ + [ "$container_name" == 'scheduler-https' ] && exit
If we don't start these two container, I'm worried that web cannot be accessed. Btw, in my knowledge, delimiter container may not need to start. -------- Thanks Yu Chuan
[ -x build ] && ./build [ -x install ] && ./install [ -x first-run ] && ./first-run -- 2.23.0

On Tue, Sep 29, 2020 at 09:55:31AM +0800, Yu Chuan wrote:
+++ b/sparrow/4-docker/buildall @@ -29,7 +29,10 @@ do_one()
+ [ "$container_name" == 'web-backend-nginx' ] || \ + [ "$container_name" == 'scheduler-https' ] && exit
If we don't start these two container, I'm worried that web cannot be accessed.
sparrow is for users, it will not affect our web. Thanks, Yinsi
Btw, in my knowledge, delimiter container may not need to start.
-------- Thanks Yu Chuan
[ -x build ] && ./build [ -x install ] && ./install [ -x first-run ] && ./first-run -- 2.23.0

On Tue, Sep 29, 2020 at 09:41:31AM +0800, Liu Yinsi wrote:
scheduler-https, conserver, web-backend-nginx no need to deploy.
Signed-off-by: Liu Yinsi <liuyinsi@163.com> --- sparrow/4-docker/buildall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sparrow/4-docker/buildall b/sparrow/4-docker/buildall index 230c6ac..7698c08 100755 --- a/sparrow/4-docker/buildall +++ b/sparrow/4-docker/buildall @@ -29,7 +29,10 @@ do_one()
mkdir $tmpdir/$container_name 2>/dev/null && mkdir -p $tmpdir/$container_name && Thanks sunyukui
( cd $container - [ "$container_name" == 'sub-fluentd' ] && exit + [ "$container_name" == 'sub-fluentd' ] || \ + [ "$container_name" == 'conserver' ] || \ + [ "$container_name" == 'web-backend-nginx' ] || \ + [ "$container_name" == 'scheduler-https' ] && exit [ -x build ] && ./build [ -x install ] && ./install [ -x first-run ] && ./first-run -- 2.23.0

On Tue, Sep 29, 2020 at 11:03:42AM +0800, Sun Yukui wrote:
On Tue, Sep 29, 2020 at 09:41:31AM +0800, Liu Yinsi wrote:
scheduler-https, conserver, web-backend-nginx no need to deploy.
Signed-off-by: Liu Yinsi <liuyinsi@163.com> --- sparrow/4-docker/buildall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sparrow/4-docker/buildall b/sparrow/4-docker/buildall index 230c6ac..7698c08 100755 --- a/sparrow/4-docker/buildall +++ b/sparrow/4-docker/buildall @@ -29,7 +29,10 @@ do_one()
mkdir $tmpdir/$container_name 2>/dev/null && mkdir -p $tmpdir/$container_name &&
good Thanks, Yinsi
Thanks sunyukui
participants (3)
-
Liu Yinsi
-
Sun Yukui
-
Yu Chuan