Skip to content

[buildpacks] Refactor code to simplify #3395#3441

Merged
nkubala merged 2 commits intoGoogleContainerTools:masterfrom
dgageot:prepare-3395
Jan 7, 2020
Merged

[buildpacks] Refactor code to simplify #3395#3441
nkubala merged 2 commits intoGoogleContainerTools:masterfrom
dgageot:prepare-3395

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Dec 24, 2019

This is just a refactoring of the codebase meant to simplify #3395.

Signed-off-by: David Gageot david@gageot.net

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 24, 2019

Codecov Report

Merging #3441 into master will decrease coverage by <.01%.
The diff coverage is 40.74%.

Impacted Files Coverage Δ
pkg/skaffold/docker/image_util.go 0% <0%> (ø) ⬆️
pkg/skaffold/build/buildpacks/build.go 77.77% <100%> (ø) ⬆️
pkg/skaffold/build/buildpacks/lifecycle.go 84.41% <100%> (+0.41%) ⬆️
pkg/skaffold/sync/sync.go 76.19% <100%> (+1.19%) ⬆️
pkg/skaffold/util/tar.go 57.47% <0%> (+4.59%) ⬆️

@dgageot dgageot changed the title Refactor code to simplify #3395 [buildpacks] Refactor code to simplify #3395 Jan 2, 2020
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.

I'm uncertain about changing the passing of insecureRegistries to the runCtx as it leads to runner-specific context being bled outside of the runner. This part of the change doesn't seem to be actually necessary? Or perhaps the run-context should be moved up into pkg/skaffold?

@dgageot
Copy link
Copy Markdown
Contributor Author

dgageot commented Jan 7, 2020

@briandealwis I can remove that part. I've got a much bigger PR that tries to address that anyways.

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@briandealwis
Copy link
Copy Markdown
Member

SGTM

@nkubala nkubala merged commit a9c112c into GoogleContainerTools:master Jan 7, 2020
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.

4 participants