-
Notifications
You must be signed in to change notification settings - Fork 156
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 kind APPLICATION #5358
Add kind APPLICATION #5358
Conversation
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
@@ -78,6 +78,17 @@ func (a *Application) ContainLabels(labels map[string]string) bool { | |||
return true | |||
} | |||
|
|||
func (a *Application) GetKindString() string { |
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.
I wanted to use GetKind
. But there is the same name method generated by protobuf.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5358 +/- ##
==========================================
+ Coverage 25.41% 25.43% +0.02%
==========================================
Files 446 446
Lines 47807 47821 +14
==========================================
+ Hits 12150 12164 +14
Misses 34708 34708
Partials 949 949 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
f0fd4d8
to
cffd56a
Compare
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.
👍🏻
After a discussion with @khanhtc1202, I found that this is no use for pipedv1. We don't use the So, close this PR. FYI, draft migration process.
|
What this PR does:
Added new kind
APPLICATION
as ApplicationKind and the method to get the kind as string. This is for the app in pipedv1.In the pipedv1, we use labels["kind"] instead of the current Kind.
See more: https://github.com/pipe-cd/pipecd/blob/master/docs/rfcs/0015-pipecd-plugin-arch-meta.md#for-kind
Why we need it:
Which issue(s) this PR fixes:
Part of #5252
Does this PR introduce a user-facing change?: