Skip to content

[feature] Reusable E2E CI pipeline#21

Draft
NikolayDemchuk wants to merge 1 commit into
mainfrom
ndemchuk-reusable-ci
Draft

[feature] Reusable E2E CI pipeline#21
NikolayDemchuk wants to merge 1 commit into
mainfrom
ndemchuk-reusable-ci

Conversation

@NikolayDemchuk
Copy link
Copy Markdown
Contributor

Signed-off-by: Nikolay Demchuk nikolay.demchuk@flant.com

Description

Add a reusable GitHub Actions workflow and cmd/e2e CLI that run the same three-stage E2E pipeline (create-clusterrun-teststeardown-cluster) through the ClusterProvider SDK, with JUnit publishing and secret handling via temp files.

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

Module repos (starting with sds-node-configurator) need a shared, low-overhead CI pattern for storage E2E without duplicating bash cluster setup and diverging from local make e2e / Ginkgo runs.

What is the expected result?

Callers use deckhouse/storage-e2e/.github/workflows/e2e-reusable.yml with secrets: inherit; jobs provision the cluster via SDK, run tests with optional --label-filter, upload JUnit to PR Checks, and always tear down the cluster in the final job.

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.

Signed-off-by: Nikolay Demchuk <nikolay.demchuk@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.

1 participant