refactor(ci): workflows nested cluster#2414
Draft
universal-itengineer wants to merge 12 commits into
Draft
Conversation
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>
Move large nightly E2E shell blocks into reusable scripts so the workflow stays focused on orchestration and the scripts can be shellchecked directly.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refactors nested-cluster E2E CI workflows and their supporting automation.
The PR replaces large inline workflow shell sections with versioned bash scripts under
.github/scripts/bash/e2e, introduces reusable/composite GitHub Actions for repeated setup and artifact tasks, and splits the previous monolithic E2E pipelines into dedicated nightly and release-oriented reusable workflows.It also adds CI validation for workflow and shell assets with actionlint and shellcheck, plus the static cluster values template and
test/e2eCI task entrypoint used by the refactored pipeline.Why do we need it, and what problem does it solve?
The old nested-cluster E2E workflows mixed orchestration with long inline shell logic, which made the pipeline harder to review, reuse, and lint consistently.
Moving operational steps into tracked scripts and composite actions reduces duplication between nightly and release flows, makes CI behavior easier to maintain, and gives us direct lint coverage for the workflow-related code paths.
What is the expected result?
Nested-cluster nightly and release E2E jobs continue to provision prerequisites, configure storage and virtualization, execute tests, collect encrypted artifacts, and clean up resources through the refactored reusable workflows.
Validation for these changes is available with:
task lint:shellchecktask lint:actionlinttask e2e:e2e:cifrom the repository roottask e2e:ciinsidetest/e2eChecklist
Changelog entries