kaniko/integration
Christie Wilson 7f64037a8c Separate snapshotting of parent dirs from files
To make the logic a bit more clear, when snapshotting files, the
parent dirs are now snapshotted in a different loop from the files we
are actually trying to snapshot. Unfortunately this loop is nearly
duplicated but I did managed to group some fo the related logic
together:
- A function to check if the file should be snapshotted (e.g. isn't
whitelisted, etc.)
- Created a `Tar` type to handle some of the logic around tar-ing, e.g.
tracking hardlinks and stat-ing files before adding them

One side effect of this is that now when snapshoting the file system,
files will be stat-ed twice.
2018-08-24 16:34:59 -07:00
..
context Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
dockerfiles Always snapshot files in COPY and RUN commands 2018-08-23 18:23:39 -07:00
cleanup.go Pass bucket and repo as args to tests 2018-07-31 09:53:59 -07:00
cmd.go Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
gcs.go Pass bucket and repo as args to tests 2018-07-31 09:53:59 -07:00
images.go Add a bit more context to layer offset failures 2018-07-31 15:33:47 -07:00
integration_test.go Separate snapshotting of parent dirs from files 2018-08-24 16:34:59 -07:00