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

Refactor the SkaffoldRunner #2307

Merged
merged 1 commit into from
Jun 21, 2019

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jun 21, 2019

This doesn’t add any feature. I just tried to clean things up.

One small detail though is that now, the logger is started just after the build and just before the deploy. It used to be called just after the deploy, with the risk on losing logs.

Signed-off-by: David Gageot [email protected]

This doesn’t add any feature. I just tried to
clean things up.

One small detail though is that now, the logger
is started just after the build and just before
the deploy. It used to be called, just after the
deploy with the risk on losing logs.

Signed-off-by: David Gageot <[email protected]>
@codecov
Copy link

codecov bot commented Jun 21, 2019

Codecov Report

Merging #2307 into master will increase coverage by 0.2%.
The diff coverage is 45.83%.

Impacted Files Coverage Δ
pkg/skaffold/runner/logger.go 100% <ø> (+41.66%) ⬆️
cmd/skaffold/app/cmd/deploy.go 64.28% <0%> (ø) ⬆️
cmd/skaffold/app/cmd/run.go 43.75% <0%> (-10.1%) ⬇️
cmd/skaffold/app/cmd/dev.go 25% <0%> (+1.19%) ⬆️
cmd/skaffold/app/cmd/diagnose.go 35% <0%> (ø) ⬆️
cmd/skaffold/app/cmd/delete.go 55.55% <0%> (ø) ⬆️
pkg/skaffold/runner/dev.go 62.5% <100%> (+5.97%) ⬆️
cmd/skaffold/app/cmd/runner.go 69.23% <100%> (+17.94%) ⬆️
cmd/skaffold/app/cmd/build.go 90% <100%> (+22.43%) ⬆️
pkg/skaffold/runner/runner.go 66.66% <44.44%> (-4.31%) ⬇️
... and 2 more

Copy link
Member

@briandealwis briandealwis left a comment

Choose a reason for hiding this comment

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

Makes sense to me! Clears up some of the confusion I encountered elsewhere.

Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

LGTM

@dgageot dgageot merged commit 7b5b194 into GoogleContainerTools:master Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants