You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/22 17:17:19 UTC

[GitHub] [druid] zhangyue19921010 edited a comment on issue #10750: k8s integration tests don't stop containers after tests

zhangyue19921010 edited a comment on issue #10750:
URL: https://github.com/apache/druid/issues/10750#issuecomment-765174615


   Hi guys. I just make a PR https://github.com/apache/druid/pull/10785, trying to solve this problem. Job 73(K8s related) is successful and I believe this PR is ready for a review.
   
   On the other hand. I run this Job on my local env, it will do the Druid/K8s cluster creation and cleanup itself instead of relying on the Travis script. After running
   ```
   export DRUID_HOME=xxxxx
   export CONFIG_FILE='k8s_run_config_file.json' 
   export IT_TEST='-Dit.test=ITNestedQueryPushDownTest' 
   export POD_NAME=int-test 
   export POD_NAMESPACE=default 
   export BUILD_DRUID_CLSUTER=true
   export MAVEN_SKIP="-Pskip-static-checks -Ddruid.console.skip=true -Dmaven.javadoc.skip=true"
   mvn -B clean install -q -ff -Pskip-static-checks -Ddruid.console.skip=true -Dmaven.javadoc.skip=true -Pskip-tests -T1C
   mvn verify -pl integration-tests -P int-tests-config-file ${IT_TEST} ${MAVEN_SKIP} -Dpod.name=${POD_NAME} -Dpod.namespace=${POD_NAMESPACE} -Dbuild.druid.cluster=${BUILD_DRUID_CLSUTER}
   ```
   IT is successful and `docker ps` shows no containers left.
   ```
   !1377 $ docker ps
   CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
   ```
   
   PTAL :)


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org