From d92e608051324e565abd268057c02921b6cec53a Mon Sep 17 00:00:00 2001 From: seeflood <349895584@qq.com> Date: Fri, 13 May 2022 08:36:46 +0800 Subject: [PATCH 1/4] fix ci issue --- etc/script/test-quickstart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/script/test-quickstart.sh b/etc/script/test-quickstart.sh index 447a808733..73947c2828 100755 --- a/etc/script/test-quickstart.sh +++ b/etc/script/test-quickstart.sh @@ -50,7 +50,7 @@ sh etc/script/download_etcd.sh # release all resources release_resource() { # kill processes - processes="layotto layotto_wasmer etcd go" + processes="layotto layotto_wasmer etcd server client go" for key in ${processes}; do if killall $key; then echo "$key released" From ccd2017521b0ec0bf28d9b30647525cb9a17e8ac Mon Sep 17 00:00:00 2001 From: seeflood <349895584@qq.com> Date: Fri, 13 May 2022 08:40:50 +0800 Subject: [PATCH 2/4] gitignore --- .gitignore | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1fb8a362a3..3c76b32ef5 100644 --- a/.gitignore +++ b/.gitignore @@ -41,4 +41,24 @@ application.pid *.orig # integrate test -integrate_test.sh \ No newline at end of file +integrate_test.sh + +# production of quickstart testing +cmd/layotto/layotto +cmd/layotto/nohup.out +cmd/layotto_multiple_api/layotto +cmd/layotto_multiple_api/nohup.out +default.etcd/ +demo/configuration/common/client +demo/file/client +demo/flowcontrol/client +demo/lock/redis/client +demo/pubsub/redis/client/publisher +demo/pubsub/redis/server/nohup.out +demo/pubsub/redis/server/subscriber +demo/sequencer/common/client +demo/state/common/client +etc/script/mdx +etcd +layotto_wasmer +nohup.out From 6f100f4d369e585513c2a480f2292554e892dc2b Mon Sep 17 00:00:00 2001 From: seeflood <349895584@qq.com> Date: Fri, 13 May 2022 08:41:00 +0800 Subject: [PATCH 3/4] make all --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6af8928476..2e9f8317fa 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ clean: ## all: Run format codes, check codes, build Layotto codes for host platform with one command # ============================================================================== .PHONY: all -all: format check.style check.unit check.lint build +all: format check style.quickstart # ============================================================================== # Usage From b0189519444c765961fa55e69c21de17adeee837 Mon Sep 17 00:00:00 2001 From: seeflood <349895584@qq.com> Date: Sat, 14 May 2022 11:09:59 +0800 Subject: [PATCH 4/4] clean build output Signed-off-by: seeflood <349895584@qq.com> --- Makefile | 2 +- make/golang.mk | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e9f8317fa..df8368e874 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ clean: ## all: Run format codes, check codes, build Layotto codes for host platform with one command # ============================================================================== .PHONY: all -all: format check style.quickstart +all: clean format check style.quickstart clean # ============================================================================== # Usage diff --git a/make/golang.mk b/make/golang.mk index dcdb534ce9..629c2019f2 100644 --- a/make/golang.mk +++ b/make/golang.mk @@ -62,6 +62,24 @@ go.clean: @echo "===========> Cleaning all build output" @rm -rf $(OUTPUT_DIR) @rm -rf $(ROOT_DIR)/cover.out + @rm -f cmd/layotto/layotto + @rm -f cmd/layotto/nohup.out + @rm -f cmd/layotto_multiple_api/layotto + @rm -f cmd/layotto_multiple_api/nohup.out + @rm -rf default.etcd/ + @rm -f demo/configuration/common/client + @rm -f demo/file/client + @rm -f demo/flowcontrol/client + @rm -f demo/lock/redis/client + @rm -f demo/pubsub/redis/client/publisher + @rm -f demo/pubsub/redis/server/nohup.out + @rm -f demo/pubsub/redis/server/subscriber + @rm -f demo/sequencer/common/client + @rm -f demo/state/common/client + @rm -f etc/script/mdx + @rm -f etcd + @rm -f layotto_wasmer + @rm -f nohup.out .PHONY: go.lint.verify go.lint.verify: