kaniko/integration
Priya Wadhwa 5d2d2829d0 Review config for cmd/entrypoint after building a stage
As mentioned in #346, if only ENTRYPOINT is set in a stage then any
CMD inherited from a parent should be cleared.

If both entrypoint and cmd are set then nothing should change.

I added a function and unit test to review the config file after building a stage
which clears out config.Cmd if ENTRYPOINT was declared but CMD wasn't.

I also added an integration test to make sure this works, which should
be tested by the preexisting container-diff --metadata test.
2018-09-10 18:15:51 -07:00
..
context Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
dockerfiles Review config for cmd/entrypoint after building a stage 2018-09-10 18:15:51 -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 Extract filesystem in order rather than in reverse 2018-08-29 15:44:38 -07:00