ROSAENG-62355 feat: exercise cluster delete via rosactl CLI in e2e tests - #161
ROSAENG-62355 feat: exercise cluster delete via rosactl CLI in e2e tests#161rrp-bot wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift-online/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe HCP cluster cleanup E2E tests now delete clusters through ChangesHCP cluster cleanup
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @rrp-bot. Thanks for your PR. I'm waiting for a openshift-online member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
Replace the direct platform API DELETE call with `rosactl cluster delete` to give the new subcommand e2e coverage. The polling/wait spec is unchanged in behaviour but uses customerApiClient consistently with the rest of the cleanup block. Adds the cluster-delete Ginkgo label so the two specs can be targeted independently: ginkgo --label-filter="cluster-delete"
d374ca2 to
07cc53f
Compare
typeid
left a comment
There was a problem hiding this comment.
/test on-demand-e2e
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rrp-bot, typeid The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test on-demand-e2e |
Summary
Updates the e2e CLI suite to exercise the new
rosactl cluster deletesubcommand (companion to openshift-online/rosa-hyperfleet-cli#100) rather than calling the platform API DELETE endpoint directly.Changes
test/e2e-cli/cluster_test.goapiClient.Deletecall withrosactl cluster delete <clusterID> --yescustomerApiClientconsistently with the rest of the cleanup blockcluster-deleteGinkgo label to both specs so they can be targeted independently:ginkgo --label-filter="cluster-delete" ./test/e2e-cliDepends on
openshift-online/rosa-hyperfleet-cli#100
Summary by CodeRabbit
Bug Fixes
Tests