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

Check for new skaffold version when skaffold.yaml parsing fails #1587

Merged
merged 3 commits into from
Feb 6, 2019

Conversation

corneliusweig
Copy link
Contributor

Re-uses the already existing asynchronous version check. Now, if parsing fails, the check is repeated synchronously and an appropriate warning is shown.

Fixes #1570

@codecov-io
Copy link

codecov-io commented Feb 1, 2019

Codecov Report

Merging #1587 into master will increase coverage by 0.41%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1587      +/-   ##
==========================================
+ Coverage   46.51%   46.92%   +0.41%     
==========================================
  Files         118      119       +1     
  Lines        5044     5072      +28     
==========================================
+ Hits         2346     2380      +34     
+ Misses       2464     2458       -6     
  Partials      234      234
Impacted Files Coverage Δ
cmd/skaffold/app/cmd/cmd.go 0% <0%> (ø) ⬆️
cmd/skaffold/app/cmd/runner.go 0% <0%> (ø) ⬆️
pkg/skaffold/deploy/util.go 68% <0%> (-8%) ⬇️
pkg/skaffold/deploy/kubectl.go 75.86% <0%> (-1.75%) ⬇️
pkg/skaffold/jib/jib_gradle.go 100% <0%> (ø) ⬆️
cmd/skaffold/app/cmd/build.go 0% <0%> (ø) ⬆️
pkg/skaffold/jib/jib_maven.go 100% <0%> (ø) ⬆️
pkg/skaffold/build/local/bazel.go 30.76% <0%> (ø) ⬆️
pkg/skaffold/build/local/types.go 0% <0%> (ø) ⬆️
pkg/skaffold/build/gcb/types.go 0% <0%> (ø) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6437d83...9eae989. Read the comment docs.

@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Feb 1, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Feb 1, 2019
Copy link
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

nice. a few small comments but otherwise LGTM

pkg/webhook/kubernetes/deployment.go Show resolved Hide resolved
pkg/skaffold/update/update.go Outdated Show resolved Hide resolved
Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

Minor nits, otherwise looks good.

pkg/skaffold/update/update.go Outdated Show resolved Hide resolved
cmd/skaffold/app/cmd/cmd.go Outdated Show resolved Hide resolved
@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Feb 5, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Feb 5, 2019
@dgageot dgageot merged commit cb7a22f into GoogleContainerTools:master Feb 6, 2019
@corneliusweig corneliusweig deleted the version-check branch February 6, 2019 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants