-
Notifications
You must be signed in to change notification settings - Fork 151
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
feat: add support for trainingoperator to component #1342
feat: add support for trainingoperator to component #1342
Conversation
706bc18
to
ab60913
Compare
67f856e
to
f6392e2
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature-operator-refactor #1342 +/- ##
============================================================
Coverage ? 25.76%
============================================================
Files ? 55
Lines ? 4402
Branches ? 0
============================================================
Hits ? 1134
Misses ? 3129
Partials ? 139 ☔ View full report in Codecov by Sentry. |
bad61c5
to
a9ae1cf
Compare
/retest-required |
README.md
Outdated
@@ -412,7 +412,7 @@ Example commands to run test suite for the dashboard `component` only, with the | |||
make run-nowebhook | |||
``` | |||
```shell | |||
make e2e-test -e OPERATOR_NAMESPACE=<namespace> -e E2E_TEST_FLAGS="--test-operator-controller=false --test-webhook=false --test-component=dashboard" | |||
make e2e-test -e OPERATOR_NAMESPACE=<namespace> -e E2E_TEST_FLAGS="--test-operator-controller=false --test-webhook=false --test-component=dashboard,ray,modelregistry, trainingoperator" |
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.
this does need to be changed, the example is about running a test for a single component (line 409)
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.
reverted
tests/e2e/controller_test.go
Outdated
"dashboard": dashboardTestSuite, | ||
"ray": rayTestSuite, | ||
"modelregistry": modelRegistryTestSuite, | ||
"trainingoperator": kftoTestSuite, |
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.
maybe rename the suite test to trainingoperatorTestSuite
for consistency
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.
done
main.go
Outdated
@@ -66,6 +66,7 @@ import ( | |||
dashboardctrl "github.com/opendatahub-io/opendatahub-operator/v2/controllers/components/dashboard" | |||
modelregistryctrl "github.com/opendatahub-io/opendatahub-operator/v2/controllers/components/modelregistry" | |||
rayctrl "github.com/opendatahub-io/opendatahub-operator/v2/controllers/components/ray" | |||
kftoctrl "github.com/opendatahub-io/opendatahub-operator/v2/controllers/components/trainingoperator" |
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.
maybe rename the import alias to trainingoperatorctrl
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.
done
looks good, minor note, maybe replace |
312e767
to
b962226
Compare
looks like there are still a number of
|
db21cd2
to
56b4277
Compare
/test opendatahub-operator-e2e |
variable name updated |
Signed-off-by: Wen Zhou <wenzhou@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lburgazzoli 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 |
/test opendatahub-operator-e2e |
4dead12
into
opendatahub-io:feature-operator-refactor
Description
https://issues.redhat.com/browse/RHOAIENG-13185
How Has This Been Tested?
Screenshot or short clip
Merge criteria