Skip to content

feat(ci): test rolling over release to release#2195

Open
universal-itengineer wants to merge 37 commits into
mainfrom
feat/ci/test-rolling-over-release-to-release
Open

feat(ci): test rolling over release to release#2195
universal-itengineer wants to merge 37 commits into
mainfrom
feat/ci/test-rolling-over-release-to-release

Conversation

@universal-itengineer
Copy link
Copy Markdown
Member

@universal-itengineer universal-itengineer commented Apr 8, 2026

Description

Adds CI coverage for rolling Deckhouse Virtualization from one release to another in a persistent nested e2e cluster.

The PR introduces a dedicated release e2e workflow and reusable pipeline that:

  • bootstraps a nested cluster for release testing;
  • configures required storage backends and SDN/ClusterNetwork resources;
  • installs Virtualization from the current release and runs pre-upgrade release scenarios;
  • patches the Virtualization ModulePullOverride to the new release;
  • runs post-upgrade release scenarios against the same test resources;
  • keeps encrypted cluster artifacts available for debugging.

It also adds release-specific e2e scenarios and helper resources for validating VM lifecycle, guest access, networking, storage attachment, and upgrade continuity.

Why do we need it, and what problem does it solve?

Regular e2e tests validate a single build, but they do not cover the release-to-release upgrade path where existing VMs, disks, network resources, and guest workloads must survive a module upgrade.

This workflow gives CI a repeatable way to validate that a published current release can be upgraded to a candidate/new release without breaking existing Virtualization workloads.

What is the expected result?

A release test run should:

  • create a nested cluster and configure storage/network prerequisites;
  • deploy Virtualization with the current release tag;
  • create and validate release test resources before the upgrade;
  • switch Virtualization to the new release tag;
  • validate that the same resources and workloads remain usable after the upgrade;
  • upload encrypted generated files, SSH data, and kubeconfig artifacts for investigation.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: ci
type: feature
summary: test rolling over release to release

@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch from 771442a to c7af588 Compare April 9, 2026 12:28
@universal-itengineer universal-itengineer added this to the v1.9.0 milestone Apr 10, 2026
@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch 7 times, most recently from ae4aedc to 66d22b3 Compare April 15, 2026 13:59
@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch from 7fc6034 to 207691e Compare May 18, 2026 13:28
@universal-itengineer universal-itengineer removed this from the v1.9.0 milestone May 18, 2026
@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch from 4fee0f4 to cc38c44 Compare May 19, 2026 13:50
@universal-itengineer universal-itengineer added this to the v1.9.0 milestone May 19, 2026
@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch from d4280ca to a83830a Compare May 19, 2026 15:53
@universal-itengineer universal-itengineer marked this pull request as ready for review May 20, 2026 12:44
Comment thread .github/workflows/e2e-test-releases.yml Outdated
Comment thread test/e2e/release/scenarios.go
Comment thread .github/workflows/e2e-test-releases-reusable-pipeline.yml
Comment thread test/e2e/release/iperf.go Outdated
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
universal-itengineer and others added 17 commits May 25, 2026 16:04
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Dmitry Prytkov <dmitry.prytkov@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Dmitry Prytkov <dmitry.prytkov@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch 2 times, most recently from 7bd0284 to c12745b Compare May 25, 2026 14:21
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the feat/ci/test-rolling-over-release-to-release branch from c12745b to d4ba271 Compare May 25, 2026 14:42
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Comment thread .github/workflows/e2e-test-releases-reusable-pipeline.yml Outdated
universal-itengineer and others added 2 commits May 25, 2026 19:41
Co-authored-by: Maksim Fedotov <maksim.fedotov@flant.com>
Signed-off-by: Nikita Korolev <141920865+universal-itengineer@users.noreply.github.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants