Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: add debug logs to save logs for easier searching
  • Loading branch information
Racer159 committed May 23, 2024
commit 1ecebc1facaf716578d85e610620e55b10da63c8
8 changes: 4 additions & 4 deletions .github/actions/debug-output/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ runs:
- name: Print basic debug info for a k8s cluster
run: |
echo "::group::kubectl get all"
uds zarf tools kubectl get all -A
uds zarf tools kubectl get all -A | tee /tmp/debug-k-get-all.log
echo "::endgroup::"
echo "::group::kubectl get pv,pvc"
uds zarf tools kubectl get pv,pvc -A
uds zarf tools kubectl get pv,pvc -A | tee /tmp/debug-k-get-pv-pvc.log
echo "::endgroup::"
echo "::group::kubectl get package"
uds zarf tools kubectl get package -A
uds zarf tools kubectl get package -A | tee /tmp/debug-k-get-package.log
echo "::endgroup::"
echo "::group::kubectl get events"
uds zarf tools kubectl get events -A --sort-by='.lastTimestamp'
uds zarf tools kubectl get events -A --sort-by='.lastTimestamp' | tee /tmp/debug-k-get-events.log
echo "::endgroup::"
shell: bash
1 change: 1 addition & 0 deletions .github/actions/save-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ runs:
path: |
/tmp/zarf-*.log
/tmp/uds-*.log
/tmp/debug-*.log
/tmp/uds-containerd-logs
/tmp/k3d-uds-*.log