Skip to content
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

update: enable release component info for feast #1625

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Feb 7, 2025

  • test is disabled since yaml file is not sync to ODH feast repo yet

Description

https://issues.redhat.com/browse/RHOAIENG-19100
https://issues.redhat.com/browse/RHOAIENG-11648

How Has This Been Tested?

Screenshot or short clip

Merge criteria

  • You have read the contributors guide.
  • Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
  • Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@@ -42,6 +43,7 @@ func (s *componentHandler) NewComponentReconciler(ctx context.Context, mgr ctrl.
// Add FeastOperator-specific actions
WithAction(initialize).
WithAction(devFlags).
WithAction(releases.NewAction()).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, it should also implement WithReleases interface.

Thoughts: This action is common for all the components. I'm wondering would it be possible somehow to make a more common wrapper. It mus be called after manifests configured from the devFlags. Another question, if it should be done like that. I mean, may be release information should not be substituted with devFlags.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two parts from me:

  1. we can move the release releated into something as you suggested WithRelease()
    originally, i see it is close to updatestatus but even more close to the way we set the release info from DSC/DSCI which is a one time action (this goes away after point (2) comes in)
    in short: we can refactor later. for now, it is functional as expected.
  2. i had thoughts on this order as well. i convinced myself eventually, it needs to be done after devFlags. the reason is, if component want to test different value by having a mock value in the yaml file, so they can easily know the one running in the cluster is a mock/dev manifests not the original one from the operator build.
    and with some ongoing support multi-arch work, that will be even helpful for the test purpose.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. for now, it is functional as expected.

wondering how. Did I look wrong code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i missed this part, thought i added it in the push.........................

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zdtsw you are also missing the updated generated files.

@ugiordan
Copy link
Contributor

ugiordan commented Feb 7, 2025

/retest

Copy link
Contributor

github-actions bot commented Feb 7, 2025

This PR can't be merged just yet 😢

Please run make generate manifests api-docs and commit the changes.

For more info: https://github.com/opendatahub-io/opendatahub-operator/actions/runs/13198314525

zdtsw added 2 commits February 7, 2025 11:57
- test is disabled since yaml file is not sync to ODH feast repo yet

Signed-off-by: Wen Zhou <[email protected]>
Copy link

openshift-ci bot commented Feb 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ugiordan, ykaliuta

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zdtsw
Copy link
Member Author

zdtsw commented Feb 7, 2025

/test opendatahub-operator-e2e

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 20.28%. Comparing base (422544b) to head (ea0146e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...mponents/feastoperator/feastoperator_controller.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1625      +/-   ##
==========================================
- Coverage   20.28%   20.28%   -0.01%     
==========================================
  Files         163      163              
  Lines       11137    11138       +1     
==========================================
  Hits         2259     2259              
- Misses       8638     8639       +1     
  Partials      240      240              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@redhatHameed
Copy link
Contributor

redhatHameed commented Feb 7, 2025

update the yaml file for feast note we are using stable branch https://github.com/opendatahub-io/feast/blob/stable/infra/feast-operator/config/component_metadata.yaml

@openshift-ci openshift-ci bot removed the lgtm label Feb 7, 2025
Copy link

openshift-ci bot commented Feb 7, 2025

New changes are detected. LGTM label has been removed.

@zdtsw
Copy link
Member Author

zdtsw commented Feb 8, 2025

/test opendatahub-operator-e2e

Copy link

openshift-ci bot commented Feb 8, 2025

@zdtsw: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/opendatahub-operator-e2e 61c6bba link true /test opendatahub-operator-e2e

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

4 participants