Skip to content

e2e: remove helm tests - #6512

Merged
nixpanic merged 3 commits into
ceph:develfrom
iPraveenParihar:e2e/remove-helm-tests
Sep 10, 2026
Merged

e2e: remove helm tests#6512
nixpanic merged 3 commits into
ceph:develfrom
iPraveenParihar:e2e/remove-helm-tests

Conversation

@iPraveenParihar

@iPraveenParihar iPraveenParihar commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Describe what this PR does

Removes Helm-based deployment testing from the e2e suite and CI. Helm charts
are being deprecated in favor of the Ceph-CSI Operator (will be deprecated in v3.18,
to be removed in v3.19), so Helm e2e coverage is no longer needed on devel.

Part-of: #6467

Future concerns

List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)

CI job ordering

Depends-on: #6538

@iPraveenParihar
iPraveenParihar requested review from a team as code owners August 27, 2026 12:31
@mergify mergify Bot added component/testing Additional test cases or CI work component/deployment Helm chart, kubernetes templates and configuration Issues/PRs labels Aug 27, 2026
@mergify

mergify Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 3 merge protections satisfied — ready to merge.

Show 3 satisfied protections

🟢 ⛓️ Depends-On Requirements

Requirement based on the presence of Depends-On in the body of the pull request

🟢 📃 Configuration Change Requirements

Mergify configuration change

  • any of:
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

Lets remove helm tests first to have 3 less CI 😄.

Comment thread .github/workflows/pull-request-commentor.yaml
Comment thread PendingReleaseNotes.md Outdated
@iPraveenParihar
iPraveenParihar force-pushed the e2e/remove-helm-tests branch 2 times, most recently from f004ae1 to a1d826d Compare August 27, 2026 13:01
@iPraveenParihar iPraveenParihar added the ci/skip/multi-arch-build skip building on multiple architectures label Aug 27, 2026
@iPraveenParihar
iPraveenParihar requested review from a team and nixpanic August 27, 2026 15:43
@mergify

mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

/test ci/centos/mini-e2e/k8s-1.36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes Helm-based deployment coverage from the Ceph-CSI E2E suite and updates CI automation/gating to reflect Helm deprecation on devel, aligning test strategy with the move toward Ceph-CSI Operator deployments.

Changes:

  • Removed Helm-specific E2E mode (--helm-test) and Helm-only test cases, plus related pod-selection logic.
  • Simplified namespace/setup logic to account for Operator deployments without Helm special-casing.
  • Updated merge gating and PR automation to stop requiring/triggering Helm E2E on devel, and documented the deprecation in pending release notes.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
PendingReleaseNotes.md Adds a deprecation note explaining Helm E2E validation is removed.
e2e/utils.go Removes Helm-related fields and narrows CSI pod selector to deployment/daemonset names.
e2e/upgrade-rbd.go Drops Helm-specific namespace handling during upgrade tests.
e2e/upgrade-cephfs.go Drops Helm-specific namespace handling during upgrade tests.
e2e/rbd.go Removes Helm-only test and setup branching (labels/storageclass), and removes Helm pod label from deployment struct.
e2e/operator.go Updates operator pod selector to no longer include Helm labels.
e2e/nvmeof.go Removes Helm from skip logic (Operator-only special-casing remains).
e2e/nfs.go Removes Helm gating and Helm pod label from operator deployment struct usage.
e2e/e2e_test.go Removes the --helm-test flag from the E2E test binary.
e2e/cephfs.go Removes Helm-only test and Helm pod label from deployment struct.
.mergify.yml Removes Helm E2E job statuses from merge requirements.
.github/workflows/pull-request-commentor.yaml Stops posting Helm E2E trigger comments for PRs targeting devel.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread e2e/operator.go
Comment on lines 65 to 67
func (r *OperatorDeployment) getPodSelector() string {
return fmt.Sprintf("app in (%s, %s, %s, %s, %s)", helmRBDPodsLabel, helmCephFSPodsLabel, helmNFSPodsLabel,
r.deploymentName, r.daemonsetName)
return fmt.Sprintf("app in (%s, %s)", r.deploymentName, r.daemonsetName)
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will do it when we remove the manifest deployment.

Comment thread e2e/rbd.go Outdated
Comment thread e2e/rbd.go Outdated
Comment thread PendingReleaseNotes.md Outdated

@black-dragon74 black-dragon74 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Minor nits, rest LGTM :)

@iPraveenParihar
iPraveenParihar force-pushed the e2e/remove-helm-tests branch 2 times, most recently from b6a6513 to f67462f Compare September 2, 2026 06:58
@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

upgrade test passed logs

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

/test ci/centos/mini-e2e-operator/k8s-1.35

Remove the --helm-test flag and all helm-specific test code paths
from the e2e test suite. Helm deployments are deprecated and will
no longer be tested.

Signed-off-by: Praveen M <m.praveen@ibm.com>
Remove helm e2e test triggers from the pull request commentor
workflow. Helm deployments are deprecated and will no longer be
tested in CI.

Signed-off-by: Praveen M <m.praveen@ibm.com>
Signed-off-by: Praveen M <m.praveen@ibm.com>
@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

/test ci/centos/mini-e2e-operator/k8s-1.35

@iPraveenParihar

Copy link
Copy Markdown
Contributor Author

/test ci/centos/mini-e2e/k8s-1.35

@iPraveenParihar
iPraveenParihar requested review from a team and black-dragon74 September 8, 2026 05:08
@nixpanic

Copy link
Copy Markdown
Member

wait for #6538 to be merged before /queue'ing this PR.

@nixpanic nixpanic mentioned this pull request Sep 10, 2026
6 tasks
@nixpanic

Copy link
Copy Markdown
Member

/queue

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

@Mergifyio rebase

@mergify

mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

rebase

❌ This pull request comes from a fork and cannot be rebased

Details

GitHub refuses an OAuth token on its rebase API for a fork, so rebasing one means impersonating a GitHub user to force-push the contributor's branch. Mergify does not do that.

Use the update action or the @mergifyio update command instead: it brings the pull request up to date by merging the base branch into it, and needs no impersonation. It only has something to do when the pull request is behind its base branch, so if what the branch needs is a linear history, its author has to rebase it themselves.

@nixpanic

Copy link
Copy Markdown
Member

@Mergifyio update

@mergify

mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

update

❌ Pull request can't be updated with latest base branch changes

Details

This pull request seems to come from a fork, and Mergify needs the author's permission to update its branch.
The author needs to enable "Allow edits from maintainers" on this pull request, or update the branch manually.

@nixpanic

Copy link
Copy Markdown
Member

@Mergifyio queue

@mergify

mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

🛑 Queue command has been cancelled

@nixpanic

Copy link
Copy Markdown
Member

/test ci/centos/upgrade-tests

@nixpanic nixpanic added the ci/skip/e2e skip running e2e CI jobs label Sep 10, 2026
@nixpanic

Copy link
Copy Markdown
Member

@Mergifyio refresh

@mergify

mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

queue

🛑 This pull request comes from a fork and cannot be rebased on behalf of a user

Details

GitHub refuses an OAuth token on its rebase API for a fork, so rebasing a fork's pull request on behalf of a GitHub user means impersonating that user to force-push the contributor's branch. Mergify does not do that.

Unset update_bot_account on the default queue to keep queueing pull requests from forks: with no account to impersonate, the update rebases through GitHub's API as Mergify, which the installation token is allowed to do. A fork pull request that changes GitHub Actions workflows, or that another GitHub App's bot opened, is the exception: GitHub lets Mergify queue one in place only with an update_bot_account, so a queue that receives those has to run its checks on a draft pull request instead. update_method: merge works too, and merges the base branch into the pull request rather than rebasing it.

@mergify

mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

refresh

✅ Pull request refreshed

@nixpanic
nixpanic merged commit 3c71c74 into ceph:devel Sep 10, 2026
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/skip/e2e skip running e2e CI jobs ci/skip/multi-arch-build skip building on multiple architectures component/deployment Helm chart, kubernetes templates and configuration Issues/PRs component/testing Additional test cases or CI work queued/rebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants