Skip to content

Conversation

@nevermarine
Copy link
Collaborator

@nevermarine nevermarine commented Apr 2, 2025

Signed-off-by: Maksim Fedotov [email protected]

Description

Run automatic e2e tests on pull requests via labels.

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

We need this to continuously integrate new code into an existing code base in a controlled fashion. By automating e2e tests and requiring them to pass before merging, we improve reliability of virtualization platform.

What is the expected result?

  • Labeling PR with e2e/user/XXX chooses cluster where e2e tests will run
  • Labeling PR with e2e/run starts e2e
  • If PR doesn't have e2e/user/XXX label, e2e tests are ran on the cluster belonging to the PR author
  • Labeling PR with skip/e2e removes e2e tests check

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: add automatic e2e tests

@nevermarine nevermarine added the e2e/run Run e2e test on cluster of PR author label Apr 2, 2025
@nevermarine nevermarine force-pushed the feat/ci/add-auto-e2e-tests branch from 1527135 to a040a33 Compare April 2, 2025 09:13
@nevermarine nevermarine added e2e/run Run e2e test on cluster of PR author and removed e2e/run Run e2e test on cluster of PR author labels Apr 2, 2025
@nevermarine nevermarine added this to the v0.17.0 milestone Apr 2, 2025
@nevermarine nevermarine added e2e/run Run e2e test on cluster of PR author e2e/run/Isteb4k and removed e2e/run Run e2e test on cluster of PR author e2e/run/Isteb4k labels Apr 2, 2025
Signed-off-by: Maksim Fedotov <[email protected]>
Signed-off-by: Maksim Fedotov <[email protected]>
@nevermarine nevermarine removed the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
Signed-off-by: Maksim Fedotov <[email protected]>
Signed-off-by: Maksim Fedotov <[email protected]>
@nevermarine nevermarine added the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@nevermarine nevermarine added the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
Signed-off-by: Maksim Fedotov <[email protected]>
Signed-off-by: Maksim Fedotov <[email protected]>
Signed-off-by: Maksim Fedotov <[email protected]>
@nevermarine nevermarine added the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
Signed-off-by: Maksim Fedotov <[email protected]>
@nevermarine nevermarine added the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@nevermarine nevermarine added the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@nevermarine nevermarine marked this pull request as ready for review April 10, 2025 20:30
@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Apr 10, 2025
@nevermarine nevermarine merged commit fa8dd85 into main Apr 11, 2025
92 of 99 checks passed
@nevermarine nevermarine deleted the feat/ci/add-auto-e2e-tests branch April 11, 2025 07:30
yachmenevas pushed a commit that referenced this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants