Skip to content

Automatically handle —no-pull option on pack.#3576

Merged
balopat merged 2 commits intoGoogleContainerTools:masterfrom
dgageot:bp-auto-nopull
Jan 24, 2020
Merged

Automatically handle —no-pull option on pack.#3576
balopat merged 2 commits intoGoogleContainerTools:masterfrom
dgageot:bp-auto-nopull

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Jan 24, 2020

Instead of having the user handle that, Skaffold will always pull images on the first build and on each subsequent builds, pack will be told to not pull.

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

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 24, 2020

Codecov Report

Merging #3576 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/schema/latest/config.go 100% <ø> (ø) ⬆️
pkg/skaffold/build/buildpacks/lifecycle.go 70.58% <100%> (+4.58%) ⬆️
pkg/skaffold/build/buildpacks/pulled_images.go 100% <100%> (ø)
...affold/kubernetes/portforward/kubectl_forwarder.go 65.85% <0%> (-2.44%) ⬇️
cmd/skaffold/app/cmd/init.go 100% <0%> (ø) ⬆️

p.images[builderRunnerPair{
builder: builder,
runner: runImage,
}] = true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was a bit hard to parse!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I made that clearer

@dgageot
Copy link
Copy Markdown
Contributor Author

dgageot commented Jan 24, 2020

kokoro is failing for unrelated reason (TestBuildKanikoInsecureRegistry)

Instead of having the user handle that, Skaffold
will always pull images on the first build and
on each subsequent builds, pack will be told to
not pull.

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@balopat balopat merged commit 4ef53a0 into GoogleContainerTools:master Jan 24, 2020
@briandealwis
Copy link
Copy Markdown
Member

One side-effect is that it makes it difficult to try out builder changes locally.

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