Commit Graph

1635 Commits

Author SHA1 Message Date
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
Tejal Desai 988114d022 re-use cache when checking and adding 2020-06-06 15:27:39 -07:00
Tejal Desai c576771497 fix tests 2020-06-06 11:37:35 -07:00
Tejal Desai b9d25dd5db better whiteout logic 2020-06-06 10:50:24 -07:00
Tejal Desai cbf4452fe9 fix snapshot 2020-06-06 10:03:37 -07:00
Tejal Desai b7462742c1 add deletion logic 2020-06-06 02:05:45 -07:00
Yoan Blanc ce8298bb14
image: add test
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-06 10:31:42 +02:00
Tejal Desai ede69f8507 check file changed in loop 2020-06-06 01:24:46 -07:00
Tejal Desai 35d2358482 add integration tests 2020-06-06 00:53:08 -07:00
Tejal Desai fc1b70d195 makefile 2020-06-06 00:40:20 -07:00
Tejal Desai c511cb7689 Merge branch 'master' into addRedoSnapshotter 2020-06-06 00:39:20 -07:00
Tejal Desai 2a7d33526b lint 2020-06-06 00:30:07 -07:00
Tejal Desai 0f5387960e minimal changes 2020-06-06 00:16:14 -07:00
Tejal Desai 01c3a1bcf3 mend 2020-06-05 23:47:31 -07:00
Tejal Desai 58276274e8 better improvements 2020-06-05 23:44:17 -07:00
Yoan Blanc fcb055e581
Merge remote-tracking branch 'origin/master' into fix/1172 2020-06-06 08:42:30 +02:00
Tejal Desai 43338d4b2f add a new run command along with a new flag 2020-06-05 19:53:16 -07:00
Tejal Desai 8fdb78a858
Merge pull request #1299 from tejal29/add_GCB_benchmark
ADD GCB benchmark code
2020-06-05 19:03:01 -07:00
Tejal Desai 57818cfb79 lint 2020-06-05 16:49:28 -07:00
Tejal Desai ba00c9fb7d add benchmarking for gcb 2020-06-05 15:10:28 -07:00
Tejal Desai 95a8ecc200 fix lint 2020-06-05 14:58:36 -07:00
Tejal Desai 66c8266627 remove private buckets 2020-06-05 13:58:30 -07:00
Tejal Desai 6ab97e2b5f ADD GCB benchmark code 2020-06-05 12:46:47 -07:00
Tejal Desai bea020f34f add another snapshotter 2020-06-05 02:54:32 -07:00
Tejal Desai ec3ca84ad9 add another redo snapshotter 2020-06-04 22:02:13 -07:00
Tejal Desai 7ace1d6a24
Merge pull request #1288 from tejal29/benchmark-snapshot
benchmark FileSystem snapshot project added
2020-06-04 20:32:44 -07:00