Commit Graph

1980 Commits

Author SHA1 Message Date
Tejal Desai df7f4cc9dc add boilerplate 2020-08-13 14:44:07 -07:00
Tejal Desai bfd92b5c6b
Merge pull request #1342 from aca/fix
Set correct PATH for exec form
2020-08-13 14:20:04 -07:00
Tejal Desai a2ac3b520f
Merge pull request #1383 from tejal29/another_impl
new implementation for run
2020-08-13 14:19:08 -07:00
Tejal Desai 94b2b6b391 gofmt 2020-08-13 14:03:38 -07:00
Tejal Desai abcc16b4cc fix gofmt 2020-08-13 13:59:58 -07:00
Tejal Desai 11024f258d new implementation for run 2020-08-13 13:43:07 -07:00
Tejal Desai 472376307e
Update run.go 2020-08-13 13:17:42 -07:00
Tejal Desai 8f1528764f
add defer. 2020-08-13 10:47:35 -07:00
Tejal Desai 1f456866eb
Merge branch 'master' into opts 2020-08-13 10:43:14 -07:00
Tejal Desai 1bf66ef435
Merge pull request #1153 from why-xn/master
Checkout a specific git commit
2020-08-13 10:41:26 -07:00
Tejal Desai d83338e372
Merge pull request #1318 from caarlos0/git
feat: accept GIT_TOKEN
2020-08-13 10:40:07 -07:00
Tejal Desai 8fbd6c805f
Merge pull request #1358 from sachaos/master
Format json & yaml in README
2020-08-13 10:39:25 -07:00
Tejal Desai 91092830ef
Merge pull request #1364 from pierrelouisb/executor_image_fix_username
executor image: fix USER environment variable
2020-08-13 10:37:31 -07:00
Tejal Desai 28a38ea4c2
Merge pull request #1374 from tsufeki/current-platform-in-warmer
Use current platform when fetching image in warmer
2020-08-13 10:36:58 -07:00
Tejal Desai 02896bf6be
Merge pull request #1371 from jchorl/master
bump go-containerregistry dep
2020-08-13 10:35:44 -07:00
Tejal Desai 4ec9f206c8
Merge pull request #1379 from tejal29/fix_use_new_run
fix use new run marker
2020-08-13 09:46:20 -07:00
Tejal Desai 9a12c6f88e gofmt 2020-08-12 18:54:53 -07:00
Tejal Desai a8bef58fa5
Merge branch 'master' into opts 2020-08-12 16:55:51 -07:00
Tejal Desai 553933514a fix use new run marker 2020-08-12 16:06:19 -07:00
tsufeki 4af795bf4a Use current platform when fetching image in warmer
Cache warming fetched images without specifying platform, which resulted
in always pulling default linux/amd64. Even when kaniko was built and
run on arm64.

This change brings warmer's behaviour in line with executor's by
specifying runtime.GOOS/GOARCH.

Fixes #1372
2020-08-07 15:52:15 +02:00
Josh Chorlton 57ab7e03f1 bump go-containerregistry dep 2020-08-04 19:41:26 -07:00
Takumasa Sakao 71f37f084d Format json & yaml in README 2020-08-03 06:09:01 +09:00
Carlos Alexandro Becker 008f8e890c fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-29 23:32:40 -03:00
Carlos Alexandro Becker fdcc40683e fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-29 23:26:08 -03:00
Carlos Alexandro Becker ed04106af4 Merge remote-tracking branch 'upstream/master' into git 2020-07-29 23:24:17 -03:00
Tejal Desai c480a06347
Merge pull request #1338 from haampie/bump-patch-version-number
Bump version number mismatch
2020-07-29 10:13:31 -07:00
Pierre-Louis Bonicoli 80a4a59a27
executor image: fix USER environment variable 2020-07-29 16:38:32 +02:00
Tejal Desai a47a78edae
Merge pull request #1319 from caarlos0/go-git
feat: upgrade go-git
2020-07-28 21:32:16 -07:00
Tejal Desai 92917bab3a
Merge pull request #1326 from greut/add-to-err-on-404
add should fail on 40x
2020-07-28 21:30:29 -07:00
Tejal Desai 5f0d30534f
Update Makefile 2020-07-28 15:10:07 -07:00
Tejal Desai 2427b348ac
Merge pull request #1350 from hlubek/bugfix-reproducible-whiteout
Bugfix: Reproducible layers with whiteout
2020-07-28 14:57:28 -07:00
Tejal Desai 46f270bbd4
Merge pull request #1264 from greut/fix/1172
pkg: prepend library when using registry mirror
2020-07-28 14:55:36 -07:00
Tejal Desai 6c743c0ead
Merge pull request #1359 from jkutner/snapshotPathPrefix
Move snapshotPathPrefix into a method
2020-07-28 14:49:51 -07:00
Joe Kutner 29a02b08ff
Move snapshotPathPrefix into a method
This allows the value to be determined on the fly, which supports consumers that use Kaniko snaphot as a library and may need to change the value of config.KanikoDir
2020-07-26 21:46:33 -05:00
Christopher Hlubek 5c61bc44bd Remove unreliable unit test for SnasphotFS with whiteout 2020-07-20 11:35:25 +02:00
Christopher Hlubek 699a4bee32 Bugfix: Reproducible layers with whiteout
When deleting files of previous layers, the whiteout files
were not added to the tar file in a consistent order.

This change adds a stable sorting to the whiteout files and
adds unit tests to check for stable sorting.
2020-07-16 10:56:59 +02:00
aca dd4191ad3d gofmt 2020-07-04 03:46:41 +09:00
aca 966cd03499 Set correct PATH for exec form
Fixes #1304
2020-07-04 01:16:05 +09:00
Harmen Stoppels b569cc1913 Bump version number mismatch 2020-07-01 15:47:47 +02:00
Tejal Desai 0c71a1bb0e
Merge pull request #1336 from tejal29/release_kaniko
release v0.24.0
2020-06-30 10:43:01 -07:00
Tejal Desai df3a57d293 upgrade version 2020-06-30 10:23:50 -07:00
Carlos Alexandro Becker e483bee97c
feat: git options
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-24 15:31:32 -03:00
Carlos Alexandro Becker f744acfbb7
Merge remote-tracking branch 'upstream/master' into opts
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-24 15:10:05 -03:00
Tejal Desai cdbd8af057
Merge pull request #1328 from jonjohnsonjr/artifact-registry
Add pkg.dev to automagic config file population
2020-06-23 14:55:04 -07:00
Tejal Desai 1231c77c14
Merge pull request #1320 from caarlos0/recurse
feat: recurse submodules
2020-06-23 13:18:01 -07:00
Jon Johnson c42881410c Add pkg.dev to automagic config file population
Kaniko currently does config file setup for GCR such that pushing to GCR
automagically works. This change does the same for pkg.dev:
https://cloud.google.com/artifact-registry

This also tightens up the hostname check to ensure we don't send
credentials to a registry that happens to contain "gcr.io".
2020-06-23 11:23:07 -07:00
Yoan Blanc 5412ac65da
fixup! fixup! fixup! add should fail on 40x
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-20 10:46:41 +02:00
Yoan Blanc 999365f5f9
fixup! fixup! add should fail on 40x
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-20 10:42:59 +02:00
Yoan Blanc 8cc772ae9c
fixup! add should fail on 40x
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-20 10:15:50 +02:00
Yoan Blanc ca23ae441e
add should fail on 40x
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-20 09:49:11 +02:00