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 support Auto sync #4079

Merged
merged 1 commit into from May 4, 2020

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Apr 30, 2020

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

@codecov
Copy link

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%) ⬇️

docs/content/en/docs/pipeline-stages/filesync.md Outdated Show resolved Hide resolved
docs/content/en/docs/pipeline-stages/filesync.md Outdated Show resolved Hide resolved
docs/content/en/docs/pipeline-stages/filesync.md Outdated Show resolved Hide resolved
@@ -219,7 +219,7 @@ func setDefaultSync(a *latest.Artifact) {
if a.Sync != nil {
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
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)?

pkg/skaffold/build/cache/hash.go Outdated Show resolved Hide resolved
@@ -661,7 +661,7 @@ func TestNewSyncItem(t *testing.T) {
},
},
evt: filemon.Events{
Added: []string{"file.go", "ignored.txt"},
Copy link
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

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

None yet

5 participants