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 OCM APIs and apply Rollout Strategy API changes #310

Merged

Conversation

serngawy
Copy link
Member

@serngawy serngawy commented Nov 9, 2023

Summary

Update OCM APIs and apply Rollout Strategy API changes

Related issue(s)

Fixes #

@serngawy
Copy link
Member Author

serngawy commented Nov 9, 2023

/assign @haoqing0110

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3882b1d) 61.61% compared to head (502a0b0) 61.63%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #310      +/-   ##
==========================================
+ Coverage   61.61%   61.63%   +0.02%     
==========================================
  Files         132      132              
  Lines       13956    13956              
==========================================
+ Hits         8599     8602       +3     
+ Misses       4592     4589       -3     
  Partials      765      765              
Flag Coverage Δ
unit 61.63% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@serngawy serngawy force-pushed the updateRollout branch 2 times, most recently from 99901ac to 5b32a0b Compare November 9, 2023 21:24
@@ -799,6 +856,9 @@ func TestAddonConfigReconcile(t *testing.T) {
{GroupName: "group1"},
},
},
RolloutConfig: clusterv1alpha1.RolloutConfig{
Copy link
Member

Choose a reason for hiding this comment

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

Will the test case report error if not adding None explicitly? since I though empty string will works as None refer to https://github.com/open-cluster-management-io/api/blob/main/cluster/v1alpha1/helpers.go#L554.

Copy link
Member

Choose a reason for hiding this comment

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

Create a fix PR open-cluster-management-io/api#295, I think we should allow the user not define ProgressivePerGroup field and just use the default value.

Copy link
Member Author

Choose a reason for hiding this comment

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

okay, I agree. will update the API commit version based on the above PR fix.

@serngawy serngawy force-pushed the updateRollout branch 3 times, most recently from fcd9445 to 98fde64 Compare November 14, 2023 22:10
@haoqing0110
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 15, 2023
Signed-off-by: melserngawy <melserng@redhat.com>
@qiujian16
Copy link
Member

/approve

Leave to @haoqing0110 for final review.

Copy link
Contributor

openshift-ci bot commented Nov 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16, serngawy

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

@haoqing0110
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 16, 2023
@openshift-merge-bot openshift-merge-bot bot merged commit 615f5a4 into open-cluster-management-io:main Nov 16, 2023
13 checks passed
mprahl pushed a commit to mprahl/OCM that referenced this pull request Mar 14, 2024
…pen-cluster-management-io#310)

Signed-off-by: Jon Jackson <jonjacks@redhat.com>

Signed-off-by: Jon Jackson <jonjacks@redhat.com>
mprahl pushed a commit to mprahl/OCM that referenced this pull request Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants