-
Notifications
You must be signed in to change notification settings - Fork 137
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
Refactor Custom Serving Runtime enablement #1407
Refactor Custom Serving Runtime enablement #1407
Conversation
8708082
to
5dac9fe
Compare
frontend/src/pages/modelServing/customServingRuntimes/useTemplateDisablement.ts
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/customServingRuntimes/useTemplateDisablement.ts
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/customServingRuntimes/useTemplateDisablement.ts
Outdated
Show resolved
Hide resolved
5dac9fe
to
6df5d86
Compare
@DaoDaoNoCode @alexcreasy I've just updated the testing efforts in this PR, since it's refactoring a part of the resource utils |
It should be now ready to go. |
6df5d86
to
8d0ca31
Compare
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.
Tested, the migration and the following disablement feature work as expected, lgtm
@alexcreasy @Gkrumbach07 can you guys take a look at this? |
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.
I dont see any issues with the code itself. changes in resourceUtils look good. I dont have a cluster up so i have not been able to check it live yet
@Gkrumbach07 if you need a cluster let me know, I can share you mine! |
|
@Gkrumbach07 that's a great catch, I've already updated it to remove lingering templates that might not be present. btw, the disabled runtimes should not appear, I've tested it again and it's working fine for me, can we take a look at it later? |
8d0ca31
to
be9b116
Compare
be9b116
to
2c6fc88
Compare
2c6fc88
to
e761567
Compare
/lgtm |
@lucferbux can this be merged now or do we need another review |
@Gkrumbach07 yeah, i did some changes it needs to be re-reviewed. @DaoDaoNoCode can you take a look please? |
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.
lgtm
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: DaoDaoNoCode 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 serving runtime * Refactor custom serving runtimes enablement * Remove tensorflow from ootb * Add startup function to migrate disablement status for Custom Serving Runtime * Fix feedback * Delete unused annotations * Fix feedback * Remove templates from disablement list when deleted * Fix issue filtering serving runtimes
Description
Closes: #1205
How Has This Been Tested?
Custom Serving Runtime Panel Admin
OdhDashboardConfig
attributetemplateDisablement
Custom Serving Runtimes available in DS Projects
Migration with no OdhDashboardConfig
opendatahub.io/template-enabled: 'false'
to existing templatesOdhDashboardConfig
objecttemplateDisablement
with the templates with theopendatahub.io/template-enabled: 'false'
annotationapi/config
should containstatus.dependencyOperators
fieldMigration with OdhDashboardConfig
opendatahub.io/template-enabled: 'false'
to existing templatesOdhDashboardConfig
does not containtemplateDisablement
OdhDashboardConfig
should now contain a list intemplateDisablement
with the templates with theopendatahub.io/template-enabled: 'false'
annotationapi/config
should containstatus.dependencyOperators
field ifdisablePipelines
is set tofalse
Migration with OdhDashboardConfig and templateDisablement
opendatahub.io/template-enabled: 'false'
to existing templatesOdhDashboardConfig
has the attribute `templateDisablement``OdhDashboardConfig
should maintain the sametemplateDisablement
listapi/config
should containstatus.dependencyOperators
field ifdisablePipelines
is set tofalse
Test Impact
I'm going to add this testsuite alongside the testing efforts for #1198
Request review criteria: