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 taskevents Test, StatusCheck, and fix duplicates for Deploy #5675

Merged

Conversation

MarlonGamez
Copy link
Contributor

@MarlonGamez MarlonGamez commented Apr 13, 2021

Related: #5368 #5422

Description
Adds emission of TaskEvent protos for Test and StatusCheck phases. Also fixes duplicate emission of Deploy TaskEvents

User facing changes (remove if N/A)
User will now see TaskEvents for phases mentioned

Follow-up Work (remove if N/A)
Add emission for PortForwarding

@MarlonGamez MarlonGamez requested a review from a team as a code owner April 13, 2021 21:47
@google-cla google-cla bot added the cla: yes label Apr 13, 2021
@codecov
Copy link

codecov bot commented Apr 13, 2021

Codecov Report

Merging #5675 (82eb6f6) into master (5e2a4ec) will increase coverage by 0.02%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5675      +/-   ##
==========================================
+ Coverage   70.63%   70.66%   +0.02%     
==========================================
  Files         411      411              
  Lines       15777    15795      +18     
==========================================
+ Hits        11144    11161      +17     
- Misses       3812     3813       +1     
  Partials      821      821              
Impacted Files Coverage Δ
pkg/skaffold/runner/deploy.go 51.94% <66.66%> (+0.59%) ⬆️
pkg/skaffold/runner/build_deploy.go 69.38% <100.00%> (+0.70%) ⬆️
pkg/skaffold/docker/parse.go 84.32% <0.00%> (-1.09%) ⬇️
pkg/skaffold/cluster/minikube.go 71.64% <0.00%> (+3.01%) ⬆️
pkg/skaffold/util/tar.go 56.00% <0.00%> (+5.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e2a4ec...82eb6f6. Read the comment docs.

if err := r.tester.Test(ctx, out, artifacts); err != nil {
eventV2.TaskFailed(constants.Test, r.devIteration, err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: This will not add event per tester right? We can add those later in a separate PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, this is just for the over arching test phase

@MarlonGamez MarlonGamez merged commit e947844 into GoogleContainerTools:master Apr 15, 2021
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.

2 participants