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 sub directory support with Kaniko and GCB #1613

Merged
merged 2 commits into from Feb 7, 2019

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Feb 6, 2019

Support for artifacts that are built with Kaniko or GCB and whose sources are not in . directory is currently broken.

This PR fixes that and adds a unit test and two integration tests to make sure this stays fixed!

Fixes #1611
Fixes #1612

This regression was introduced by #1477

@codecov-io
Copy link

codecov-io commented Feb 6, 2019

Codecov Report

Merging #1613 into master will increase coverage by 0.01%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1613      +/-   ##
==========================================
+ Coverage   46.31%   46.33%   +0.01%     
==========================================
  Files         117      117              
  Lines        5106     5111       +5     
==========================================
+ Hits         2365     2368       +3     
- Misses       2508     2509       +1     
- Partials      233      234       +1
Impacted Files Coverage Δ
pkg/skaffold/util/tar.go 37.31% <33.33%> (-1.15%) ⬇️
pkg/skaffold/docker/context.go 80% <75%> (+8.57%) ⬆️

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 36782cc...390d46f. Read the comment docs.

@dgageot dgageot force-pushed the fix-sub-folder branch 2 times, most recently from 6b42c90 to 390d46f Compare February 6, 2019 17:52
Signed-off-by: David Gageot <david@gageot.net>
Copy link
Contributor

@priyawadhwa priyawadhwa 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 07e1194 into GoogleContainerTools:master Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants