agricenko commented on a change in pull request #9854:
URL: https://github.com/apache/druid/pull/9854#discussion_r426489284



##########
File path: integration-tests/README.md
##########
@@ -68,16 +68,48 @@ can either be 8 or 11.
 Druid's configuration (using Docker) can be overrided by providing 
-Doverride.config.path=<PATH_TO_FILE>. 
 The file must contain one property per line, the key must start with `druid_` 
and the format should be snake case. 
 
+## Running tests by docker-compose + mvn
+
+Build druid-cluster, druid-hadoop docker images. From root module run maven 
command:
+```
+mvn clean install -pl integration-tests -P integration-tests 
-Ddocker.run.skip=true -Dmaven.test.skip=true
+```
+
+Run druid cluster by docker-compose:
+```
+docker-compose -f integration-tests/docker/docker-compose.yml up
+```
+
+Run integration tests:
+```
+mvn verify -pl integration-tests -P integration-tests -Dgroups=batch-index 
-Djvm.runtime=8 -Pskip-static-checks -Ddruid.console.skip=true 
-Dmaven.javadoc.skip=true -Ddocker.run.skip=true -Ddocker.build.skip=true
+```
+
+Run s3 | azure | gcs integration tests:
+
+Prepare configuration for integration tests:
+```
+   integration-tests/docker/environment-configs/override-examples/*
+```
+
+Run docker compose for one of group:
+```
+    docker-compose -f integration-tests/docker/docker-compose-s3.yml up
+```
+
+Run maven command to execute tests. 
+> See: Running a Test That Uses Cloud 
+
 ## Tips & tricks for debugging and developing integration tests
 
 ### Useful mvn command flags
 
-- -Dskip.start.docker=true to skip starting docker containers. This can save 
~3 minutes by skipping building and bringing 
+- -Ddocker.build.skip=true to skip build druid containers. This can save ~4 
minutes to build druid cluster and druid hadoop.
+You need to build druid containers only once, after you can skip docker build 
step. 

Review comment:
       added




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to