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

Improve Dockerfile parsing #1053

Merged
merged 7 commits into from
Oct 2, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Sep 27, 2018

Fixes #1049, #1050 and #1052

@codecov-io
Copy link

codecov-io commented Sep 27, 2018

Codecov Report

Merging #1053 into master will increase coverage by 0.05%.
The diff coverage is 85.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1053      +/-   ##
==========================================
+ Coverage   40.86%   40.91%   +0.05%     
==========================================
  Files          70       70              
  Lines        3091     3104      +13     
==========================================
+ Hits         1263     1270       +7     
- Misses       1703     1706       +3     
- Partials      125      128       +3
Impacted Files Coverage Δ
pkg/skaffold/docker/parse.go 66.66% <85.29%> (-0.75%) ⬇️

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 600f25b...7cf7a35. Read the comment docs.

curr.Value = util.Expand(curr.Value, key, value)
}
case command.Add, command.Copy:
files, _ := processCopy(node, envs)
Copy link
Contributor

Choose a reason for hiding this comment

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

we should propagate the error from here IMO, this is where our linter issue can be fixed too.
WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I'll handle it

@dgageot dgageot force-pushed the dockerfile-parsing branch 2 times, most recently from db6c986 to 96a927f Compare September 29, 2018 08:58
Signed-off-by: David Gageot <david@gageot.net>
Fixes GoogleContainerTools#1049

Signed-off-by: David Gageot <david@gageot.net>
Fixes GoogleContainerTools#1050

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Fixes GoogleContainerTools#1052

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot force-pushed the dockerfile-parsing branch from 96a927f to 7cf7a35 Compare October 2, 2018 08:53
Copy link

@b4l1nt b4l1nt left a comment

Choose a reason for hiding this comment

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

LGTM

@dgageot dgageot merged commit c27bcd4 into GoogleContainerTools:master Oct 2, 2018
@dgageot dgageot deleted the dockerfile-parsing branch December 28, 2018 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants