Skip to content

Buildpacks support Auto sync#4079

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:buildpacks-auto-sync
May 4, 2020
Merged

Buildpacks support Auto sync#4079
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:buildpacks-auto-sync

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Apr 30, 2020

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 30, 2020

Codecov Report

Merging #4079 into master will increase coverage by 0.02%.
The diff coverage is 71.42%.

Impacted Files Coverage Δ
pkg/skaffold/schema/latest/config.go 100.00% <ø> (ø)
pkg/skaffold/sync/sync.go 74.54% <63.63%> (+2.54%) ⬆️
pkg/skaffold/build/buildpacks/lifecycle.go 75.00% <100.00%> (ø)
pkg/skaffold/build/cache/hash.go 75.94% <100.00%> (ø)
pkg/skaffold/schema/defaults/defaults.go 90.62% <100.00%> (-1.05%) ⬇️

if len(a.Sync.Manual) == 0 && len(a.Sync.Infer) == 0 && a.Sync.Auto == nil {
switch {
case a.JibArtifact != nil:
case a.JibArtifact != nil || a.BuildpackArtifact != nil:
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.

Do you think we should check that the builder is our builder? Or warn (in case someone builds a builder that includes our devmode buildpacks)?

},
},
evt: filemon.Events{
Added: []string{"file.go", "ignored.txt"},
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.

The devmode.sync in this example only identifies *.go files, so this shouldn't change with ignored.txt, should it? Oh, I think you just wanted to test this separately.

@balopat balopat added the docs-modifications runs the docs preview service on the given PR label May 2, 2020
@container-tools-bot
Copy link
Copy Markdown

Please visit http://34.94.185.45:1313 to view changes to the docs.

@container-tools-bot container-tools-bot removed the docs-modifications runs the docs preview service on the given PR label May 2, 2020
Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot force-pushed the buildpacks-auto-sync branch from 6b8407f to 0076526 Compare May 4, 2020 08:00
@dgageot dgageot merged commit 35b18f4 into GoogleContainerTools:master May 4, 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.

5 participants