-
Notifications
You must be signed in to change notification settings - Fork 11
[WIP] CNTRLPLANE-2185: set up openshift-tests-extension for run-once-duration-override-operator #527
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
base: main
Are you sure you want to change the base?
Conversation
- Created cmd/run-once-duration-override-operator-tests-ext/main.go with minimal template - Registers extension with OTE framework - No custom suite definitions or test spec manipulation - Updated Dockerfile.rhel7 to use standard 'make build' - build-machinery-go automatically builds both binaries from cmd/ - Added gzip and COPY for test binary - Removed custom clean target from Makefile - build-machinery-go handles cleanup automatically - Added OTE test documentation to README - Document building, running, and listing tests - Quick reference for OTE test framework - Updated .gitignore for test binary This moves to the simplified single-module architecture pattern where the test binary is built alongside the operator binary using standard build machinery, eliminating custom build targets and test suite configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added github.com/openshift-eng/openshift-tests-extension dependency - Updated go.mod and go.sum - Updated vendor/ directory Co-Authored-By: ropatil <ropatil@redhat.com>
|
@ropatil010: This pull request references CNTRLPLANE-2185 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.21.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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ropatil010 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ropatil010: all tests passed! 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. |
As part of the https://issues.redhat.com/browse/CNTRLPLANE-2154 raised this PR which introduces a binary and supporting structure to enable the execution of run-once-duration-override-operator tests using the Open Test Environment (OTE).
Changes:
Remove test/tests-extension separate module infrastructure
Add cmd/run-once-duration-override-operator-tests-ext/main.go with OTE test registration
Update Dockerfile to build test binary with make build and gzip it
Update the README.md
Update go.mod, go.sum with required dependencies for ginkgo and openshift-tests-extension
Added vendor dependencies for new OTE framework
Please find the OTE test results.
{
"apiVersion": "v1.1",
"source": {
"commit": "",
"build_date": "",
"git_tree_state": ""
},
"component": {
"product": "openshift",
"type": "payload",
"name": "run-once-duration-override-operator"
},
"suites": null,
"images": null
}
/assign @wangke19 @gangwgr @zhouying7780
/hold