-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Emit TaskEvent messages for DevLoop, Build, and Deploy phases #5637
Emit TaskEvent messages for DevLoop, Build, and Deploy phases #5637
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5637 +/- ##
==========================================
+ Coverage 70.54% 70.61% +0.06%
==========================================
Files 410 410
Lines 15640 15668 +28
==========================================
+ Hits 11034 11064 +30
+ Misses 3793 3790 -3
- Partials 813 814 +1
Continue to review full report at Codecov.
|
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.
This is great!
Can you add an example event stream ?
/cc @etanshaul |
@@ -190,7 +190,7 @@ func newGRPCServer(preferredPort int, usedPorts *util.PortSet) (func() error, in | |||
} | |||
|
|||
func newHTTPServer(preferredPort, proxyPort int, usedPorts *util.PortSet) (func() error, error) { | |||
mux := runtime.NewServeMux(runtime.WithProtoErrorHandler(errorHandler)) | |||
mux := runtime.NewServeMux(runtime.WithProtoErrorHandler(errorHandler), runtime.WithMarshalerOption(runtime.MIMEWildcard, &runtime.JSONPb{OrigName: true, EmitDefaults: true})) |
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.
nice!!!
Merge After: #5641
Related: #5368 #5422
Description
Makes calls to eventV2 package to send out TaskEvent Protos. Also fixes what I believe to be an issue with the
SkaffoldRunner.devIteration
field not being updated after the first iterationUser facing changes (remove if N/A)
User can access v2 events endpoint and see TaskEvent messages being emitted.
Example:
Follow-up Work (remove if N/A)
Emit these messages for other phases of skaffold such as Test and StatusCheck