Skip to content

Refactor the SkaffoldRunner#2307

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:skaffold-runner
Jun 21, 2019
Merged

Refactor the SkaffoldRunner#2307
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:skaffold-runner

Conversation

@dgageot
Copy link
Copy Markdown
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 david@gageot.net

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 <david@gageot.net>
@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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