kaniko/pkg/buildcontext
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
..
azureblob.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
buildcontext.go feat: Add https tar.gz remote source for context (#1519) 2020-12-10 22:55:02 -08:00
dir.go Feature/contextsources (#195) 2018-07-06 06:24:50 -07:00
gcs.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
git.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
git_test.go fix: lint issues 2020-07-29 23:32:40 -03:00
https.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
https_test.go feat: Add https tar.gz remote source for context (#1519) 2020-12-10 22:55:02 -08:00
s3.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
tar.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
tar_test.go feat: add support of local '.tar.gz' file inside the kaniko container 2020-03-12 22:51:30 +01:00