Skip to content

Commit

Permalink
Store zenko CRs in artifacts
Browse files Browse the repository at this point in the history
Issue: ZENKO-4893
  • Loading branch information
francoisferrand committed Sep 26, 2024
1 parent f615fcc commit cf72a0f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/actions/archive-artifacts/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "Archive artifact logs and data"
description: "Archive logs, pods and events"
name: Archive artifact logs and data
description: Archive logs, pods and events

runs:
using: composite
Expand All @@ -12,6 +12,9 @@ runs:
mkdir -p /tmp/artifacts/data/${STAGE}/kind-logs;
kubectl get pods -A -o yaml > /tmp/artifacts/data/${STAGE}/kind-logs/all-pods.log;
kubectl get events -A -o yaml > /tmp/artifacts/data/${STAGE}/kind-logs/all-events.log;
kubectl get zenko -A -o yaml > /tmp/artifacts/data/${STAGE}/kind-logs/all-zenkos.log;
kubectl get zenkodrsource -A -o yaml > /tmp/artifacts/data/${STAGE}/kind-logs/all-zenkodrsources.log;
kubectl get zenkodrsink -A -o yaml > /tmp/artifacts/data/${STAGE}/kind-logs/all-zenkodrsinks.log;
kind export logs /tmp/artifacts/data/${STAGE}/kind-logs/kind-export;
tar zcvf /tmp/artifacts/${{ github.sha }}-${STAGE}-logs-volumes.tgz /tmp/artifacts/data/${STAGE}/kind-logs;
- name: Dump kafka
Expand Down

0 comments on commit cf72a0f

Please sign in to comment.