You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2021/03/09 16:57:58 UTC

[iotdb-client-go] 01/01: add makefile for run github action in submodule mode

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch feature/gitsubmodule
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git

commit 9c752c1a90f38b1bf177328390c101ce9e3d02e1
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Mar 10 00:57:18 2021 +0800

    add makefile for run github action in submodule mode
---
 Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Makefile b/Makefile
index c4415f2..6aaeee5 100644
--- a/Makefile
+++ b/Makefile
@@ -56,3 +56,13 @@ e2e_test:
 e2e_test_clean:
 	rm -rf /tmp/iotdb docker-context
 	docker-compose -f test/e2e/docker-compose.yml down
+
+#only used for project structure that the iotdb main project is in the parent folder of this project.
+e2e_test_for_parent_git_repo:
+    mkdir -p docker-context/iotdb
+    unzip -o -q server/target/iotdb-server-*.zip -d docker-context/iotdb
+    docker-compose -f test/e2e/docker-compose.yml up --build --abort-on-container-exit --remove-orphans
+
+e2e_test_clean_for_parent_git_repo:
+	rm -rf docker-context
+	docker-compose -f test/e2e/docker-compose.yml down
\ No newline at end of file