Skip to content

Commit

Permalink
To troubleshoot the issue, output the service log.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjgllgh committed Nov 19, 2024
1 parent 3e941ef commit 7713798
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ jobs:

- name: get Server Log
run: |
# get ddl
POD_NAME=`kubectl -n mysql get pods -o jsonpath='{.items[0].metadata.name}'`
kubectl exec -it -n mysql ${POD_NAME} -- bash -c " \
mysql -uroot -p123456 -e 'show create table linkis.linkis_cg_manager_service_instance' "
# get publicservice log
POD_NAME=`kubectl get pods -n linkis -l app.kubernetes.io/instance=linkis-demo-ps-publicservice -o jsonpath='{.items[0].metadata.name}'`
kubectl logs -n linkis ${POD_NAME}
Expand Down

0 comments on commit 7713798

Please sign in to comment.