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

Add Deployment definition in SDK #5611

Merged
merged 3 commits into from
Feb 28, 2025
Merged

Add Deployment definition in SDK #5611

merged 3 commits into from
Feb 28, 2025

Conversation

ffjlabo
Copy link
Member

@ffjlabo ffjlabo commented Feb 28, 2025

What this PR does:

as title

Why we need it:

We need some information for the Deployment itself.
I have recently added some fields for the k8s plugin and the wait approval plugin for now.

We can refine the fields later.

Which issue(s) this PR fixes:

Fixes #5530

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

Signed-off-by: Yoshiki Fujikane <[email protected]>
@ffjlabo
Copy link
Member Author

ffjlabo commented Feb 28, 2025

Checking the failed test case...

Signed-off-by: Yoshiki Fujikane <[email protected]>
// CreatedAt is the time when the deployment was created.
CreatedAt int64
}

Copy link
Member

Choose a reason for hiding this comment

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

should add comment to describe what this function does/use for (like we did in L582). The name newXXX is too confusing.

Copy link
Member Author

Choose a reason for hiding this comment

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

@khanhtc1202
Thanks, added comment
9661323

Signed-off-by: Yoshiki Fujikane <[email protected]>
@ffjlabo ffjlabo requested a review from khanhtc1202 February 28, 2025 04:10
@ffjlabo ffjlabo enabled auto-merge (squash) February 28, 2025 04:11
Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.57%. Comparing base (9d89463) to head (9661323).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5611      +/-   ##
==========================================
+ Coverage   26.56%   26.57%   +0.01%     
==========================================
  Files         474      474              
  Lines       50535    50546      +11     
==========================================
+ Hits        13423    13432       +9     
- Misses      36048    36051       +3     
+ Partials     1064     1063       -1     

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

@ffjlabo ffjlabo merged commit 93e9a27 into master Feb 28, 2025
18 checks passed
@ffjlabo ffjlabo deleted the add-deployment-to-sdk branch February 28, 2025 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementing an SDK for plugin implementations
3 participants