-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve Dockerfile parsing #1053
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
9ea38dc
to
f97795d
Compare
pkg/skaffold/docker/parse.go
Outdated
curr.Value = util.Expand(curr.Value, key, value) | ||
} | ||
case command.Add, command.Copy: | ||
files, _ := processCopy(node, envs) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
db6c986
to
96a927f
Compare
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>
96a927f
to
7cf7a35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #1049, #1050 and #1052