Commit Graph

1610 Commits

Author SHA1 Message Date
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
priyawadhwa 82f5ec9612
Merge pull request #1323 from kvendingoldo/master
Fix README.md
2020-06-16 11:45:10 -07:00
Alexander Sharov 5f7872b0a8 Fix README.md 2020-06-16 21:26:06 +04:00
Carlos Alexandro Becker 57c2df4d97
feat: new git flags
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-15 17:24:04 -03:00
Carlos Alexandro Becker ab42a919a5
feat: recurse submodules
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-15 12:01:25 -03:00
Carlos Alexandro Becker 7b8879c03f
feat: upgrade go-git
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-15 11:58:04 -03:00
Carlos Alexandro Becker 13e6bdf533
fix: improve tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-15 11:20:27 -03:00
Carlos Alexandro Becker 8322cbe3b6
feat: accept GIT_TOKEN
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-15 11:16:50 -03:00
Tejal Desai aeaea502e9
Merge pull request #1300 from tejal29/create_new_run
add a new run command along with a new flag
2020-06-13 09:24:15 -07:00
Tejal Desai a8c317e43a
Merge pull request #1307 from alex1989hu/fix/tar-owner-group-id
Fix docker-credential-gcr owner and group id
2020-06-13 09:23:51 -07:00
Alex Szakaly 97e5042fbb
Fix docker-credential-gcr owner and group id
During image build we extract archives as root which is
capable to preserve owner and group.

With option `--no-same-owner` we drop all the user and
group information, defaults to current user (root).

To avoid future issues: add option above to all tar
execution.

Fixes #1303

Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
2020-06-09 09:58:22 +02:00
Tejal Desai d14b0b8f85 Merge branch 'create_new_run' of https://github.com/tejal29/kaniko into create_new_run 2020-06-06 20:53:12 -07:00
Tejal Desai 98a2ee2e34 intoduce delay 2020-06-06 20:52:58 -07:00
Tejal Desai 302287626f Merge branch 'create_new_run' of github.com:tejal29/kaniko into create_new_run 2020-06-06 20:43:48 -07:00
Tejal Desai f8bf02ae3c rm benchmark 2020-06-06 20:43:35 -07:00
Tejal Desai 07cdfcf091 fix tests 2020-06-06 20:28:04 -07:00
Tejal Desai 4ac51ef515 merge 2020-06-06 20:17:17 -07:00
Tejal Desai c85d64c8ae better shdTakeSnapshot 2020-06-06 19:49:34 -07:00
Tejal Desai 1033ad789b
Merge pull request #1301 from tejal29/addRedoSnapshotter
Add redo snapshotter.
2020-06-06 16:48:30 -07:00
Tejal Desai e73dea426d
Merge pull request #1302 from tejal29/check_file_changed_in_loop
check file changed in loop
2020-06-06 16:45:19 -07:00
Tejal Desai 8d3bbd20f4 initialize 2020-06-06 15:50:24 -07:00