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

[buildpacks] Refactor code to simplify #3395 #3441

Merged
merged 2 commits into from
Jan 7, 2020

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Dec 24, 2019

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

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

@codecov
Copy link

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
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
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.

@briandealwis
Copy link
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