You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2023/05/31 03:58:00 UTC

[linkis] branch dev-1.4.0-integration-test2 updated: add docker log

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

casion pushed a commit to branch dev-1.4.0-integration-test2
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.4.0-integration-test2 by this push:
     new 2770cdbff add docker log
2770cdbff is described below

commit 2770cdbffa8fe45ffee6b35ec00f696a85a15e42
Author: casionone <ca...@gmail.com>
AuthorDate: Wed May 31 11:57:27 2023 +0800

    add docker log
---
 .github/workflows/integration-test.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml
index e2d568a5f..139335049 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -152,6 +152,13 @@ jobs:
             n=$((n+1))
             sleep 20
           done
+          # 查看日志
+          POD_NAME=`kubectl get pods -n linkis -l app.kubernetes.io/instance=linkis-demo-cg-linkismanager -o jsonpath='{.items[0].metadata.name}'`
+          kubectl logs -n linkis  ${POD_NAME} -f --tail=1000
+          POD_NAME=`kubectl get pods -n linkis -l app.kubernetes.io/instance=linkis-demo-cg-engineconnmanager -o jsonpath='{.items[0].metadata.name}'`
+          kubectl logs -n linkis  ${POD_NAME} -f --tail=1000
+
+
         shell: bash
 
       - name: Linkis-Cli Test


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