Skip to content

Commit 54851b8

Browse files
ci: upload cluster logs as artifact on e2e tests failure
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
1 parent eb96516 commit 54851b8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ jobs:
1313
with:
1414
go-version: "1.24.1"
1515
- run: make test-e2e
16+
- name: Upload cluster logs
17+
if: failure()
18+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
19+
with:
20+
name: e2e-test-cluster-logs
21+
path: test/e2e/logs
22+
if-no-files-found: error
23+
retention-days: 7

0 commit comments

Comments
 (0)