We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ad5dc7 + 54851b8 commit 4f0dcc9Copy full SHA for 4f0dcc9
3 files changed
.github/workflows/e2e.yml
@@ -13,3 +13,11 @@ jobs:
13
with:
14
go-version: "1.24.1"
15
- 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
.gitignore
@@ -6,3 +6,6 @@ bin
6
7
# Tilt settings
8
tilt-settings.yaml
9
+
10
+# e2e cluster logs
11
+test/e2e/logs
test/e2e/main_test.go
@@ -37,6 +37,7 @@ func TestMain(m *testing.M) {
37
)
38
39
testenv.Finish(
40
+ envfuncs.ExportClusterLogs(kindClusterName, "./logs"),
41
envfuncs.DestroyCluster(kindClusterName),
42
43
0 commit comments