-
Notifications
You must be signed in to change notification settings - Fork 100
CNTRLPLANE-1258: set up openshift-tests-extension and add a sanity test #536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@wangke19: This pull request references CNTRLPLANE-1258 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this: Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@wangke19: The following test failed, say
Full PR test history. Your PR dashboard. Instructions 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. I understand the commands that are listed here. |
@wangke19: This pull request references CNTRLPLANE-1258 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@wangke19: This pull request references CNTRLPLANE-1258 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@wangke19: This pull request references CNTRLPLANE-1258 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@wangke19: This pull request references CNTRLPLANE-1258 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@wangke19: This pull request references CNTRLPLANE-1258 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tkashem, vrutkovs, wangke19 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
6930049
into
openshift:main
[ART PR BUILD NOTIFIER] Distgit: ose-openshift-apiserver |
@coderabbitai generate sequence diagram |
Unable to generate sequence diagram: No PR summary found. Please run a review first. |
@coderabbitai review skip vendor |
@wangke19 I'll review the changes while skipping vendor files as requested. ✏️ Learnings added
✅ Actions performedReview triggered.
|
Caution Review failedThe pull request is closed. WalkthroughAdds an OpenShift API Server tests extension: new CLI entrypoint, build/update targets, Docker image packaging, and a minimal sanity test with payload metadata. Expands go.mod with Ginkgo v2, Gomega, and an OpenShift tests extension, vendoring Ginkgo and Slim Sprig. Minor repo ignore update. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant B as openshift-apiserver-tests-ext (CLI)
participant R as Registry
participant E as Extension (openshift:payload:openshift-apiserver)
participant S as Suites/Specs
U->>B: Execute CLI (e.g., run/update)
B->>R: Create registry
B->>E: Initialize extension (domain/payload/name)
E->>E: Register suites and hooks
E->>S: Build specs from Ginkgo suite
B->>B: Execute command (Cobra)
alt Run flow
B->>S: Run selected specs
else Update flow
B->>B: Update payload files
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60–90 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
This commit introduces a binary and supporting structure to enable the
execution of OpenShift origin (openshift-apiserver) tests using the Open Test Environment (OTE).
It lays the groundwork for moving origin test in openshift/origin to
be executed from this repository using OTE.
Checklist from https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0
$ make tests-ext-build
GOOS=linux GOARCH=amd64 GO_COMPLIANCE_POLICY=exempt_all CGO_ENABLED=0
go build -o openshift-apiserver-tests-ext -ldflags "-X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.CommitFromGit=1d7faa585' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.BuildDate=2025-08-18T07:17:09Z' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.GitTreeState=clean'" ./cmd/openshift-apiserver-tests-ext
the extension is to be registered here openshift/origin#30120
Local Tests
Blocks
Summary by CodeRabbit
New Features
Tests
Build
Chores