-
Notifications
You must be signed in to change notification settings - Fork 204
Add proto message for better running version of applicaion #3307
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 proto message for better running version of applicaion #3307
Conversation
| DeploymentTrigger trigger = 2 [(validate.rules).message.required = true]; | ||
| string summary = 3; | ||
| string version = 4; | ||
| string config_filename = 5; |
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.
The index number must be kept in order to avoid breaking change.
It means that with this change, the old Piped can not talk with the new server which is running with the new data layout.
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 see. I'll fix it!
pkg/model/application.proto
Outdated
| message ApplicationComponentVersion { | ||
| ApplicationComponentKind kind = 1; | ||
| stirng version = 2; | ||
| string url = 3; | ||
| } |
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.
| message ApplicationComponentVersion { | |
| ApplicationComponentKind kind = 1; | |
| stirng version = 2; | |
| string url = 3; | |
| } | |
| message ArtifactVersion { | |
| enum Kind { | |
| UNKNOWN = 0; | |
| CONTAINER_IMAGE = 1; | |
| } | |
| Kind kind = 1 [(validate.rules).enum.defined_only = true]; | |
| string version = 2 [(validate.rules).string.min_len = 1]; | |
| string name = 3; | |
| string url = 4; | |
| } |
|
Code coverage for golang is
|
|
Code coverage for javascript is
|
|
Nice. Thank you. |
|
ok, I fixed it! |
|
Nice added 👍 |
What this PR does / why we need it:
Add proto message for better running version of applicaion
Which issue(s) this PR fixes:
A part of #3303
Does this PR introduce a user-facing change?: