kaniko/pkg/commands
dlorenc 9a0e29c441
Refactor the build loop. (#385)
This change refactors the build loop a bit to make cache optimization easier in the future. Some notable changes:

The special casing around volume snapshots is removed. Every volume is added to the snapshotFiles list for every command that will snapshot anyway.
Snapshot saving was extracted to a sub-function
The decision on whether or not to snapshot was extracted
2018-10-09 12:15:17 -05:00
..
add.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
arg.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
base_command.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
cmd.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
cmd_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
commands.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
copy.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
entrypoint.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
entrypoint_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
env.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
env_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
expose.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
expose_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
healthcheck.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
label.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
label_test.go Update deps 2018-07-31 16:23:23 -07:00
onbuild.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
onbuild_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
run.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
run_test.go set default HOME env properly (#341) 2018-09-27 07:31:51 -07:00
shell.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
shell_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
stopsignal.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
stopsignal_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
user.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
user_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
volume.go Refactor the build loop. (#385) 2018-10-09 12:15:17 -05:00
volume_test.go Refactor the build loop. (#385) 2018-10-09 12:15:17 -05:00
workdir.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
workdir_test.go Update deps 2018-07-31 16:23:23 -07:00