Skip to content

Commit

Permalink
Dump logs for k8s failover test.
Browse files Browse the repository at this point in the history
Signed-off-by: Ye Cao <[email protected]>
  • Loading branch information
dashanji committed May 9, 2023
1 parent 789d5c9 commit 1cf251b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/k8s-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -702,3 +702,19 @@ jobs:
--set frontend.service.type=NodePort
# run failover test
cd ${GITHUB_WORKSPACE}/interactive_engine/compiler && ./ir_k8s_failover_ci.sh default test-gie-standalone 2 1
mkdir -p ${{ github.workspace }}/k8s-failover-logs
- name: Export kubernetes logs
uses: dashanji/kubernetes-log-export-action@v3
if: ${{ failure() }}
env:
SHOW_TIMESTAMPS: 'true'
OUTPUT_DIR: ${{ github.workspace }}/k8s-failover-logs
NAMESPACES: default

- name: upload the k8s logs to artifact
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: k8s-failover-logs
path: ${{ github.workspace }}/k8s-failover-logs
2 changes: 1 addition & 1 deletion learning_engine/graph-learn
Submodule graph-learn updated 208 files

0 comments on commit 1cf251b

Please sign in to comment.