kaniko/pkg/executor
Jack d4cf49077a
feat: kaniko dir config option (#1997)
* remove configurables from constants

* add configurables to config init

* add kaniko dir flag

* cleanup pkg constants

* replace buildcontext constants pkg occurrences with config

* add KanikoDir to KanikoOptions

* replace executor constants pkg occurrences with config

* remove redundant KanikoDir assignment

* replace constants to config for IntermediateStagesDir

* fix imports

* add default kaniko directory into constants

* add check for kanikoDir on use

* update init to use default path constant

* update executor kanikoDir check

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* alter checkKanikoDir parameter

* add TestKanikoDir func

* update error handling style

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* remove shorthand flag usage from test

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* add docstring to integration test

Co-authored-by: Jason Hall <jasonhall@redhat.com>

* remove shorthand flag from kaniko-dir

Co-authored-by: Jason Hall <jasonhall@redhat.com>
2022-03-31 15:10:23 -04:00
..
build.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
build_test.go Correctly handle platforms that include CPU variants (#1929) 2022-02-10 09:12:23 -08:00
composite_cache.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
composite_cache_test.go test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00
copy_multistage_test.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
fakes.go chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00
push.go Fix implicit GCR auth (#1856) 2021-12-28 20:34:32 -05:00
push_test.go test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00