-
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 Ray #1315
feat: add support for Ray #1315
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature-operator-refactor #1315 +/- ##
============================================================
Coverage ? 24.54%
============================================================
Files ? 52
Lines ? 4273
Branches ? 0
============================================================
Hits ? 1049
Misses ? 3095
Partials ? 129 ☔ View full report in Codecov by Sentry. |
- cleanup old component files: ray and dashboard - rename function to be more generic - status update on component for installedcomponent Signed-off-by: Wen Zhou <wenzhou@redhat.com>
- move ireturn into golangci config Signed-off-by: Wen Zhou <wenzhou@redhat.com>
@@ -58,6 +58,7 @@ linters-settings: | |||
- stdlib | |||
# also allow generics | |||
- generic | |||
- EventHandler # for ToOwner |
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.
+1
instance = r.reportError(err, instance, fmt.Sprintf("failed to reconcile %s on DataScienceCluster", componentName)) | ||
instance, _ = status.UpdateWithRetry(ctx, r.Client, instance, func(saved *dscv1.DataScienceCluster) { | ||
status.SetComponentCondition(&saved.Status.Conditions, componentName, status.ReconcileFailed, fmt.Sprintf("Component reconciliation failed: %v", err), corev1.ConditionFalse) | ||
}) | ||
return instance, err | ||
} | ||
|
||
r.Log.Info("Dashboard component reconciled successfully") | ||
r.Log.Info("component reconciled successfully: " + componentName) |
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.
not for this PR, but we can probably squeeze the 3 UpdateWithRetry
calls in a single one
LGTM |
a1f0e62
into
opendatahub-io:feature-operator-refactor
Description
https://issues.redhat.com/browse/RHOAIENG-13182
How Has This Been Tested?
local build: quay.io/wenzhou/opendatahub-operator-catalog:v2.16.13182-3
update ray CR set to
Screenshot or short clip
Merge criteria