Skip to content

Commit b232c81

Browse files
committed
Merge remote-tracking branch 'origin/main' into k0s-1-29
2 parents b6556b5 + c609861 commit b232c81

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

.github/workflows/release-prod.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -306,20 +306,20 @@ jobs:
306306
./scripts/ci-release-app.sh
307307
308308
# then install a version with alternate unsupported overrides
309-
export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')"
310-
export APP_VERSION="appver-${SHORT_SHA}-unsupported-overrides"
309+
export EC_VERSION="${{ github.ref_name }}"
310+
export APP_VERSION="appver-${{ github.ref_name }}-unsupported-overrides"
311311
export RELEASE_YAML_DIR=e2e/kots-release-unsupported-overrides
312312
./scripts/ci-release-app.sh
313313
314314
# then install a version with additional failing host preflights
315-
export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')"
316-
export APP_VERSION="appver-${SHORT_SHA}-failing-preflights"
315+
export EC_VERSION="${{ github.ref_name }}"
316+
export APP_VERSION="appver-${{ github.ref_name }}-failing-preflights"
317317
export RELEASE_YAML_DIR=e2e/kots-release-install-failing-preflights
318318
./scripts/ci-release-app.sh
319319
320320
# then install a version with additional warning host preflights
321-
export EC_VERSION="$(git describe --tags --abbrev=4 --match='[0-9]*.[0-9]*.[0-9]*')"
322-
export APP_VERSION="appver-${SHORT_SHA}-warning-preflights"
321+
export EC_VERSION="${{ github.ref_name }}"
322+
export APP_VERSION="appver-${{ github.ref_name }}-warning-preflights"
323323
export RELEASE_YAML_DIR=e2e/kots-release-install-warning-preflights
324324
./scripts/ci-release-app.sh
325325
@@ -474,7 +474,6 @@ jobs:
474474
- TestSingleNodeUpgradePreviousStable
475475
- TestInstallFromReplicatedApp
476476
- TestUpgradeFromReplicatedApp
477-
- TestInstallWithoutEmbed
478477
# - TestUpgradeEC18FromReplicatedApp
479478
- TestResetAndReinstall
480479
# - TestOldVersionUpgrade

e2e/install_test.go

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -434,29 +434,6 @@ func TestMultiNodeInstallation(t *testing.T) {
434434
t.Logf("%s: test complete", time.Now().Format(time.RFC3339))
435435
}
436436

437-
func TestInstallWithoutEmbed(t *testing.T) {
438-
t.Parallel()
439-
440-
RequireEnvVars(t, []string{"SHORT_SHA"})
441-
442-
tc := docker.NewCluster(&docker.ClusterInput{
443-
T: t,
444-
Nodes: 1,
445-
Distro: "debian-bookworm",
446-
LicensePath: "license.yaml",
447-
ECBinaryPath: "../output/bin/embedded-cluster-original",
448-
})
449-
defer tc.Cleanup()
450-
451-
t.Logf("%s: installing embedded-cluster on node 0", time.Now().Format(time.RFC3339))
452-
line := []string{"default-install.sh"}
453-
if stdout, stderr, err := tc.RunCommandOnNode(0, line); err != nil {
454-
t.Fatalf("fail to install embedded-cluster on node 0: %v: %s: %s", err, stdout, stderr)
455-
}
456-
457-
t.Logf("%s: test complete", time.Now().Format(time.RFC3339))
458-
}
459-
460437
func TestInstallFromReplicatedApp(t *testing.T) {
461438
t.Parallel()
462439

0 commit comments

Comments
 (0)