Skip to content

Commit 409364d

Browse files
feat(ci): test rolling over release to release (#2195)
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. --------- Signed-off-by: Nikita Korolev <nikita.korolev@flant.com> Signed-off-by: Dmitry Prytkov <dmitry.prytkov@flant.com> Co-authored-by: Maksim Fedotov <maksim.fedotov@flant.com>
1 parent fb09e5e commit 409364d

23 files changed

Lines changed: 3050 additions & 37 deletions

File tree

.github/workflows/e2e-reusable-pipeline.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ jobs:
957957
958958
d8_queue
959959
960+
kubectl apply -f ../sds-node-configurator/mc.yaml
960961
kubectl apply -f mc.yaml
961962
echo "[INFO] Wait for sds-node-configurator"
962963
kubectl wait --for=jsonpath='{.status.phase}'=Ready modules sds-node-configurator --timeout=300s
@@ -971,8 +972,8 @@ jobs:
971972
echo "[INFO] Wait pods and webhooks sds-replicated pods"
972973
sds_pods_ready
973974
974-
chmod +x lvg-gen.sh
975-
./lvg-gen.sh
975+
chmod +x ../sds-node-configurator/lvg-gen.sh
976+
../sds-node-configurator/lvg-gen.sh
976977
977978
chmod +x rsc-gen.sh
978979
./rsc-gen.sh
@@ -1401,7 +1402,7 @@ jobs:
14011402
GINKGO_ARGS+=(--focus="$FOCUS")
14021403
fi
14031404
1404-
go tool ginkgo "${GINKGO_ARGS[@]}" 2>&1 | tee "$e2e_output_file"
1405+
go tool ginkgo "${GINKGO_ARGS[@]}" . 2>&1 | tee "$e2e_output_file"
14051406
GINKGO_EXIT_CODE=${PIPESTATUS[0]}
14061407
set -e
14071408

0 commit comments

Comments
 (0)