Dani Raznikov
8d6a75a745
merge conflict fixes
2020-04-15 16:10:45 +03:00
Dani Raznikov
e8323441ab
resolve conflict with PR #1160
2020-04-15 15:58:43 +03:00
Tejal Desai
2270ac03d2
Merge pull request #1160 from JordanGoasdoue/can-now-resolve-args-from-stage
...
feat: can now resolves args from all stages
2020-04-14 14:18:09 -07:00
Dani Raznikov
f720c817c7
add unit tests
2020-04-12 20:17:40 +03:00
Dani Raznikov
961e634366
calculate dependency for onbuild
2020-04-10 18:49:34 +03:00
Dani Raznikov
70eb7ebcfa
suport multistage onbuild
2020-04-10 18:30:25 +03:00
Dani Raznikov
6b44ed4477
calculateDepdencies on a copy of envvars
2020-04-04 23:27:15 +03:00
Dani Raznikov
3ab6524fe5
optimize: don't parse Dockerfile twice and just reuse stages
2020-04-03 18:53:22 +03:00
Dani Raznikov
a3ce1cebf3
optimize: don't parse Dockerfile twice and just reuse stages
2020-04-03 17:39:59 +03:00
Tejal Desai
0fe0a64113
Merge pull request #1168 from PhoenixMage/32bit-overflow-fix
...
32bit overflow fix
2020-03-30 10:23:31 -07:00
Tejal Desai
8dc64549a1
Merge pull request #1155 from tejal29/fix_multi_stage_symlinks
...
Refactor Kaniko to test across multistages
2020-03-30 10:21:51 -07:00
PhoenixMage
aa6a3de316
Fix 32bit overflow
...
math.UaxUint32 will actually overflow on a 32 bit platform (tested on armv7)
This will resolve that issue.
2020-03-30 23:37:34 +11:00
Jordan Goasdoué
ed883b9015
feat: can now resolves args from stage
2020-03-27 18:42:46 +01:00
Tejal Desai
340ca79fbb
lint
2020-03-25 11:01:12 -07:00
Tejal Desai
1978f1e08e
Merge pull request #1130 from Vlatombe/set_image_platform
...
Set image platform for any build
2020-03-25 10:10:41 -07:00
Tejal Desai
9567b755dd
fix unit tests
2020-03-25 10:09:33 -07:00
Tejal Desai
2ea28fc7f5
revert back to previous file to save logic
2020-03-25 09:43:59 -07:00
Tejal Desai
caaf6c8adf
fix tests
2020-03-24 10:50:59 -07:00
Sam Stoelinga
1b662e7834
Merge pull request #1140 from samos123/fix-1122-public-gcr
...
Add ability to use public GCR repos without being authenticated
2020-03-24 10:31:58 -07:00
Vincent Latombe
336bcd3a9a
Merge branch 'master' into set_image_platform
2020-03-24 09:51:11 +01:00
Tejal Desai
5da32d3f18
Merge pull request #1147 from tejal29/small_perf
...
small perf optimizing. Only remove whiteout path if it needs to be included in base image
2020-03-23 18:12:39 -07:00
Tejal Desai
ffc372a63b
refactor to add unit tests
2020-03-23 17:48:49 -07:00
Sam Stoelinga
1fb1eddd8c
Test: Remove DockerConf after CheckPushPermission
2020-03-23 10:51:09 -07:00
Sam Stoelinga
c2393df7c3
Cleanup push_test CheckPushPermission unit tests
2020-03-22 17:11:08 -07:00
Sam Stoelinga
c56f16b163
Create constant for Docker conf location
2020-03-21 16:45:04 -07:00
Sam Stoelinga
8518b37ca1
Add unit tests for CheckPushPermissions
2020-03-21 16:15:34 -07:00
Yoan Blanc
03fcc537c3
Merge remote-tracking branch 'origin/master' into fix-chown
2020-03-18 09:01:15 +01:00
Tejal Desai
67db51810b
small perf optimizing. Only remove whiteout path if it needs to be included in the tar
2020-03-18 00:43:55 -07:00
Tejal Desai
0302e5150c
Merge pull request #1085 from tejal29/rm_buildargs_from_cache_key
...
remove build args from composite key and replace all build args
2020-03-17 16:02:59 -07:00
Tejal Desai
a173bf020b
Merge pull request #1115 from JordanGoasdoue/allow-build-context-from-local-targz
...
feat: add support of local '.tar.gz' file inside the kaniko container
2020-03-17 15:24:10 -07:00
Tejal Desai
0185818bd8
Merge pull request #1134 from dani29/master
...
Add support to --chown flag to ADD command (Issue #57 )
2020-03-17 15:07:02 -07:00
Sam Stoelinga
e1e6c55386
Merge pull request #1128 from zhangyuheng/fix/typo
...
fix: credential typo
2020-03-17 11:26:36 -07:00
Sam Stoelinga
66268690b3
Add comments
2020-03-17 09:11:50 -07:00
Sam Stoelinga
8a020010b7
Add ability to use public GCR image
...
Kaniko by default used to configure the GCR credential helper however
this caused Kaniko to fail when trying to use a base image from a public
GCR image. This patch makes it possible to use public GCR images as base
image when using docker even when you're not authenticated to GCR.
Co-authored-by: Nate Williams <nate.williams@files.com>
2020-03-17 09:09:41 -07:00
Yoan Blanc
3ff2ee3ba5
copy: unit test for chown
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-17 15:19:00 +01:00
Dani Raznikov
c136f886a9
Add support to --chown flag to ADD command
2020-03-14 16:24:40 +02:00
Jordan GOASDOUE
fda7ed4f74
feat: add support of local '.tar.gz' file inside the kaniko container
2020-03-12 22:51:30 +01:00
Tejal Desai
32decf5798
Merge pull request #1075 from greut/label-flag
...
executor: add --label flag
2020-03-12 13:47:01 -07:00
Tejal Desai
18de5d6d2d
Merge pull request #1037 from antechrestos/feature/add_option_to_import_registry_certificate
...
Allow user to provide registry certificate
2020-03-12 12:56:40 -07:00
Vincent Latombe
4d26c1f51e
Set OS/ARCH when assembling image
2020-03-12 10:41:32 +01:00
Yuheng Zhang
8eef58939b
fix: credential typo
2020-03-12 14:31:15 +08:00
Tejal Desai
9592f2640f
more tests similar to docker cp
2020-03-09 15:54:35 -07:00
Ben Einaudi
b73c2c10c8
Allow user to provide registry certificate
...
Fixes #1100
Fixes #1101
2020-03-08 18:17:50 +01:00
Tejal Desai
2181c5e6f5
create correct link across Multistage builds
2020-03-07 11:28:16 -08:00
Yoan Blanc
53326fa0bf
executor: add --label flag
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-07 18:17:26 +01:00
Tejal Desai
c523c691eb
revert back to old 0.17.1 behavior
2020-03-06 23:48:31 -08:00
Tejal Desai
8f87267002
fix lint error
2020-03-06 21:37:00 -08:00
Tejal Desai
6c14d202a3
better error wrapping and add more tests for copy
2020-03-06 17:18:36 -08:00
Tejal Desai
b4b70d040a
wip
2020-03-06 13:08:02 -08:00
Tejal Desai
3cc8aa2a9c
fix resolve link for dirs with trailing /
2020-03-06 09:38:00 -08:00