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 deploy target #5378

Merged
merged 6 commits into from
Dec 2, 2024
Merged

Add deploy target #5378

merged 6 commits into from
Dec 2, 2024

Conversation

ffjlabo
Copy link
Member

@ffjlabo ffjlabo commented Dec 2, 2024

What this PR does:

Added deployTarget to the model and piped config to use them on the pipedv1.

Why we need it:

Which issue(s) this PR fixes:

Part of #5252

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 <ffjlabo@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 25.80%. Comparing base (90b5d07) to head (3cc35c2).
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5378      +/-   ##
==========================================
+ Coverage   25.57%   25.80%   +0.22%     
==========================================
  Files         447      445       -2     
  Lines       48004    47859     -145     
==========================================
+ Hits        12279    12351      +72     
+ Misses      34765    34545     -220     
- Partials      960      963       +3     

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

Copy link
Contributor

@Warashi Warashi left a comment

Choose a reason for hiding this comment

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

almost LGTM
I commented on one nitpick

Comment on lines 46 to 47

repeated string deploy_targets = 16;
Copy link
Contributor

Choose a reason for hiding this comment

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

How about adding comments and a validation?
The validation may be like min_len = 1

Copy link
Member

Choose a reason for hiding this comment

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

This should not have validation, or application which created by pipedv0 will be invalided 👀

Copy link
Contributor

Choose a reason for hiding this comment

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

Oops, that's right 🙏🏻

Copy link
Member

Choose a reason for hiding this comment

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

Also, could you add comment to explain what does this field do or be used for @ffjlabo

Copy link
Member Author

Choose a reason for hiding this comment

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

Forgot to add comment 🙏 will do it.

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
Copy link
Member

@ffjlabo You may need to update dummyApplication to pass the web test 👀

Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
@ffjlabo ffjlabo enabled auto-merge (squash) December 2, 2024 07:48
@ffjlabo
Copy link
Member Author

ffjlabo commented Dec 2, 2024

@khanhtc1202 fixed for lint/web 3bc49da

@ffjlabo ffjlabo requested a review from Warashi December 2, 2024 07:49
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
@ffjlabo
Copy link
Member Author

ffjlabo commented Dec 2, 2024

@khanhtc1202 @Warashi Sorry for my sloppy fixes 🙏 Fixed and passed the CI

Copy link
Contributor

@Warashi Warashi left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM 👍🏻

Copy link
Member

@khanhtc1202 khanhtc1202 left a comment

Choose a reason for hiding this comment

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

Here you go 👍

@ffjlabo ffjlabo merged commit b2b9148 into master Dec 2, 2024
18 checks passed
@ffjlabo ffjlabo deleted the add-deploy-target branch December 2, 2024 08:21
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.

3 participants