This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git
The following commit(s) were added to refs/heads/main by this push:
new e04e2d7 Use docker compose v2 (#104)
e04e2d7 is described below
commit e04e2d72e9de6889c430fe3fa17f3f75b93367f4
Author: Haonan <[email protected]>
AuthorDate: Sun Aug 4 22:20:02 2024 +0800
Use docker compose v2 (#104)
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 59993e6..e48327f 100644
--- a/Makefile
+++ b/Makefile
@@ -81,19 +81,19 @@ e2e_test:
mkdir -p target/iotdb
unzip -o -q /tmp/iotdb/distribution/target/apache-iotdb-*-all-bin.zip
-d target
mv target/*/* target/iotdb
- docker-compose -f test/e2e/docker-compose.yml up --build
--abort-on-container-exit --remove-orphans
+ docker compose -f test/e2e/docker-compose.yml up --build
--abort-on-container-exit --remove-orphans
e2e_test_clean:
rm -rf /tmp/iotdb target
- docker-compose -f test/e2e/docker-compose.yml down
+ 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 target/iotdb
unzip -o -q ../../distribution/target/apache-iotdb-*-all-bin.zip -d
target
mv target/*/* target/iotdb
- docker-compose -f test/e2e/docker-compose.yml up --build
--abort-on-container-exit --remove-orphans
+ 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 target
- docker-compose -f test/e2e/docker-compose.yml down
+ docker compose -f test/e2e/docker-compose.yml down