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

Fix issues in skaffold init #3840

Merged
merged 5 commits into from
Mar 19, 2020

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Mar 19, 2020

  • Close files
  • Don't panic on random yaml files
  • Parse skaffold configs only if they are yaml|yml|json files

dgageot added 2 commits March 19, 2020 17:15
Signed-off-by: David Gageot <david@gageot.net>
Some yaml files have non-string keys

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot force-pushed the fix-skaffold-init branch from a6c19dd to dd37955 Compare March 19, 2020 17:43
@codecov
Copy link

codecov bot commented Mar 19, 2020

Codecov Report

Merging #3840 into master will increase coverage by 0.01%.
The diff coverage is 75%.

Impacted Files Coverage Δ
pkg/skaffold/schema/versions.go 75% <100%> (+1.92%) ⬆️
pkg/skaffold/docker/docker_init.go 100% <100%> (ø) ⬆️
pkg/skaffold/initializer/analyze/analyze.go 89.09% <100%> (ø) ⬆️
pkg/skaffold/initializer/init.go 37.2% <50%> (-1.43%) ⬇️
pkg/skaffold/kubernetes/util.go 87.3% <75%> (-2.36%) ⬇️
pkg/skaffold/docker/dependencies.go 75% <0%> (+1.08%) ⬆️

dgageot added 2 commits March 19, 2020 19:36
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot merged commit 7e06752 into GoogleContainerTools:master Mar 19, 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.

3 participants