Skip to content

Commit 9f649a1

Browse files
committed
f
1 parent 4364a97 commit 9f649a1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/actions/e2e/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ runs:
136136
export EXPECT_K0S_VERSION_PREVIOUS=${{ inputs.k0s-version-previous }}
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 }}
139+
export SKIP_CMX_DESTROY=1
139140
make e2e-test TEST_NAME=${{ inputs.test-name }}
140141
- name: Troubleshoot
141142
if: ${{ !cancelled() }}

e2e/cluster/cmx/cluster.go

Lines changed: 5 additions & 0 deletions
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_DESTROY") != "" {
295+
c.logf("SKIP_CMX_DESTROY is set, skipping cleanup")
296+
return
297+
}
298+
294299
if c.gid != "" {
295300
// Best effort cleanup
296301
c.logf("Cleaning up nodes")

0 commit comments

Comments
 (0)