Skip to content

WIP: ci/cd: Run e2e helm tests separately#3162

Draft
igor-karpukhin wants to merge 1 commit intomainfrom
CLOUDP-358357/helm-tests-separation
Draft

WIP: ci/cd: Run e2e helm tests separately#3162
igor-karpukhin wants to merge 1 commit intomainfrom
CLOUDP-358357/helm-tests-separation

Conversation

@igor-karpukhin
Copy link
Copy Markdown
Collaborator

Summary

This PR makes any e2e test which label starts with "helm-" to be treated as helm test and run in separately from regular e2e tests

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you checked for release_note changes?
  • Have you signed our CLA?

@igor-karpukhin igor-karpukhin added the hold Do not merge for now label Feb 4, 2026
@igor-karpukhin igor-karpukhin changed the title ci/cd: Run e2e helm tests separately WIP: ci/cd: Run e2e helm tests separately Feb 4, 2026
Comment on lines +147 to +159
// Helm tests are executed in their own environment
matchedE2EHelmTests := FilterLabelsContain(matchedE2ETests, "helm-")
matchedE2ETests = FilterLabelsDoNotContain(matchedE2ETests, "helm-")

// Government tests are executed in their own environment
matchedE2EGovTests := FilterLabelsContain(matchedE2ETests, "atlas-gov")
matchedE2ETests = FilterLabelsDoNotContain(matchedE2ETests, "atlas-gov")

matchedIntTestsJSON, _ := json.Marshal(matchedIntTests)
matchedE2ETestsJSON, _ := json.Marshal(matchedE2ETests)
matchedE2E2TestsJSON, _ := json.Marshal(matchedE2E2Tests)
matchedE2EGovTestsJSON, _ := json.Marshal(matchedE2EGovTests)
matchedE2EHelmTestsJSON, _ := json.Marshal(matchedE2EHelmTests)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we could simplify this tool and its extensibility a lot if we did not have dedicated hardwire families but instead pass FAMILY=e2e2 and LABELS=... don't you think?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even better:
FAMILIES=e2e,int,e2e2 and LABELS
you can have a table of "allowed families" and most code becomes loops over selected families.
AI can refactor that in a jiffy probably

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 7, 2026

This PR has gone 30 days without any activity and meets the project’s definition of 'stale'. This will be auto-closed if there is no new activity over the next 60 days. If the issue is still relevant and active, you can simply comment with a 'bump' to keep it open. Thanks for keeping our repository healthy!

@igor-karpukhin
Copy link
Copy Markdown
Collaborator Author

Will get back to this one as part of the help duty

@github-actions
Copy link
Copy Markdown
Contributor

This PR has gone 30 days without any activity and meets the project’s definition of 'stale'. This will be auto-closed if there is no new activity over the next 60 days. If the issue is still relevant and active, you can simply comment with a 'bump' to keep it open. Thanks for keeping our repository healthy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold Do not merge for now no-pr-activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants