kaniko/integration
Priya Wadhwa 2a359f547c Only return filepath.SkipDir for directories
From the docs on filepath.SkipDir:

> If the function returns SkipDir when invoked on a non-directory file, Walk skips the remaining files in the containing directory

This was causing the bug in #457. Since the file `/etc/hosts` was in the whitelist, when filepath.SkipDir was called the entire etc directory was skipped.

This change only returns filepath.SkipDir on directories.
2018-11-19 15:56:11 -05:00
..
context Fixes a whitelist issue when untarring files in ADD commands. (#371) 2018-09-28 11:42:07 -07:00
dockerfiles Only return filepath.SkipDir for directories 2018-11-19 15:56:11 -05:00
cleanup.go Pass bucket and repo as args to tests 2018-07-31 09:53:59 -07:00
cmd.go Only return stdout when running commands for integration tests 2018-09-25 10:05:11 -07:00
dockerignore.go Fix bugs with .dockerignore and improve integration test 2018-10-31 12:50:23 -07:00
gcs.go fix mispell 2018-10-14 00:38:18 +02:00
images.go Fix bugs with .dockerignore and improve integration test 2018-10-31 12:50:23 -07:00
integration_test.go Fix bugs with .dockerignore and improve integration test 2018-10-31 12:50:23 -07:00