Skip to content

Commit 815a490

Browse files
committed
f
1 parent 2e79430 commit 815a490

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/actions/e2e/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ runs:
137137
export EXPECT_K0S_VERSION_PREVIOUS_STABLE=${{ inputs.k0s-version-previous-stable }}
138138
export EXPECT_EMBEDDED_CLUSTER_UPGRADE_TARGET_VERSION=${{ inputs.upgrade-target-ec-version }}
139139
export SKIP_LXD_CLEANUP=true
140+
export SKIP_CMX_CLEANUP=true
140141
make e2e-test TEST_NAME=${{ inputs.test-name }}
141142
- name: Troubleshoot
142143
if: ${{ !cancelled() }}

e2e/cluster/cmx/cluster.go

+5
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@ func (c *Cluster) RunPlaywrightTest(testName string, args ...string) (string, st
291291
}
292292

293293
func (c *Cluster) destroy() {
294+
if os.Getenv("SKIP_CMX_CLEANUP") != "" {
295+
c.t.Logf("Skipping CMX cleanup")
296+
return
297+
}
298+
294299
if c.gid != "" {
295300
// Best effort cleanup
296301
c.logf("Cleaning up nodes")

0 commit comments

Comments
 (0)