-
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
Fix skaffold build templating output and add tests #1841
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1841 +/- ##
==========================================
+ Coverage 49.18% 50.16% +0.97%
==========================================
Files 166 168 +2
Lines 7287 7356 +69
==========================================
+ Hits 3584 3690 +106
+ Misses 3357 3310 -47
- Partials 346 356 +10
Continue to review full report at Codecov.
|
61e6257
to
e47c5fa
Compare
cmd/skaffold/app/cmd/build.go
Outdated
} | ||
} | ||
if err != nil { | ||
return nil, func() { cancel() }, errors.Wrap(err, "creating runner") |
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.
Could you return cancel
instead of func() { cancel() }
?
fixes #1839
In this commit
skaffold build -o
is only useful with --quiet.skaffold build --quiet > build.out
output can consumed to byskaffold deploy
to correctly parse and construct a build.Artifacts object.