Tejal Desai
9eb4a1c1ff
Merge pull request #801 from victornoel/776-dockerignore-relative
...
Support Dockerfile.dockerignore
2019-10-04 01:56:40 -07:00
Victor Noel
ff7abba47b
Fix integration tests for #776
2019-10-04 10:31:40 +02:00
Tejal Desai
22188595f0
Merge pull request #768 from N4rm0/fix-envar-replacement-for-url
...
Fix #691 - ADD does not understand ENV variables
2019-10-04 01:17:22 -07:00
Victor Noel
5700de039d
Add more tests for #776
2019-10-04 10:08:39 +02:00
Tejal Desai
865d49c631
Merge pull request #694 from orisano/feat-optimize-build
...
feat: optimize build
2019-10-04 00:51:23 -07:00
Victor Noel
db12a77e6c
Fix #776
2019-10-03 17:53:14 +02:00
jonjohnsonjr
51734fc3a3
Merge pull request #765 from Onlinehead/fix/filesystem-delete-fix
...
Fix SIGSEGV on file system deletion while building
2019-09-25 11:47:35 -07:00
Monard Vong
019b26e9a0
Simplify logic
2019-09-22 01:09:36 +02:00
Don McCasland
ccd99fbeec
Merge pull request #685 from tralexa/master
...
insecure flag not honored in cache
2019-09-20 13:32:19 -07:00
Антон Костенко
a21129f889
Fix typo and run go fmt over fs_util
2019-09-18 10:43:26 +02:00
Nao YONASHIRO
38fa3608ce
chore: fix megacheck
2019-09-18 17:19:15 +09:00
Nao YONASHIRO
d9d865c74a
test: add BenchmarkHasFilepathPrefix
2019-09-18 17:19:15 +09:00
Nao YONASHIRO
02d1ce5e1b
feat: optimize HasFilepathPrefix
2019-09-18 17:19:15 +09:00
Nao YONASHIRO
c87d2dba9c
feat: replace md5 to highwayhash
2019-09-18 17:19:15 +09:00
Tejal Desai
e048b87222
Merge pull request #671 from abergmeier/fix_comment
...
Correct CheckPushPermission comment.
This is a typo fix.
2019-09-17 10:44:54 -07:00
alexa
62acf3ac1d
change schema to http when Insecure flag is enabled
2019-09-16 16:35:45 +03:00
tralexa
75083a0c55
Merge branch 'master' into master
2019-09-16 15:58:17 +03:00
Monard Vong
d96cbfe0d3
Fix formatting
2019-09-16 00:03:10 +02:00
Monard Vong
13b8fb6345
remove trailing whitespace
2019-09-15 23:29:54 +02:00
Monard Vong
38474fad11
Fix #691 - ADD does not understand ENV variables
2019-09-15 23:08:44 +02:00
Tejal Desai
224ac8407c
Merge pull request #760 from prary/path_env
...
Setting PATH
2019-09-13 15:29:47 -07:00
Tejal Desai
08acf221c6
Merge pull request #635 from discordianfish/patch-1
...
Remove cruft
2019-09-13 14:27:58 -07:00
Tejal Desai
30f1a7dae9
fix lint
2019-09-13 12:16:40 -07:00
Tejal Desai
9b9fb815a7
fix format
2019-09-13 11:56:57 -07:00
Tejal Desai
469fdaa50d
test
2019-09-13 11:49:30 -07:00
Tejal Desai
f33c71b3c5
Merge branch 'master' into path_env
2019-09-13 11:48:01 -07:00
Tejal Desai
f0e571839d
add unit tests
2019-09-13 11:21:43 -07:00
Tejal Desai
a014c4a1e8
added unit tests
2019-09-13 11:00:05 -07:00
Tejal Desai
873b577e1a
Merge pull request #729 from xanonid/Remove_leading_slash_in_layer_tarball_paths
...
Remove leading slash in layer tarball paths (Closes : #726 )
2019-09-13 10:05:25 -07:00
priyawadhwa
8acab90dec
Merge pull request #698 from takmatsu/s3-endpoint
...
Add support for S3 custom endpoint
2019-09-13 09:32:25 -04:00
Антон Костенко
a1cc42bdb7
Fix https://github.com/GoogleContainerTools/kaniko/issues/756
2019-09-10 00:44:27 +02:00
Prashant
0158cbf70c
Setting PATH for empty image as well
2019-09-04 17:23:59 +05:30
Prashant
17d1059ec4
Setting PATH to default PATH if PATH is missing
2019-09-04 16:44:55 +05:30
chhsia0
ea1a92712c
Avoid comparing uncompressed and compressed images in the unit test.
2019-09-03 23:17:57 -07:00
Prashant
2c44539151
Setting PATH
2019-08-30 13:33:36 +05:30
chhsia0
11f3b791cd
Renamed to `--oci-layout-path` and added a unit test.
2019-08-24 01:28:58 -07:00
chhsia0
730b8b77c8
Added `--layout-path` flag to save image in OCI layout.
...
Fixed #296 .
The output manifests may have `application/vnd.docker.distribution.manifest.v2+json`
as their media types instead of `application/vnd.oci.image.manifest.v1+json`.
2019-08-24 01:04:18 -07:00
Tejal Desai
96947b8ca4
fix lint
2019-08-23 13:13:14 -07:00
Tejal Desai
6daffd8dd7
add multiple user agents to kaniko if upstream_client_type value is set
2019-08-23 11:29:05 -07:00
priyawadhwa
7adf2fcb50
Merge pull request #714 from MJDSys/reproducible_add
...
Make container layers captured using FS snapshots reproducible
2019-08-19 14:39:18 -07:00
priyawadhwa
0694be3e85
Merge pull request #717 from vm86/fix
...
fix unpacking archives via ADD
2019-08-19 13:24:53 -07:00
Deniz Zoeteman
c425f02866
Reverted not including build args in cache key
2019-08-16 15:09:52 +02:00
xanonid
30db2c07d3
Also remove leading / from paths to file which are marked as deleted
2019-08-09 17:30:45 +02:00
xanonid
1fa2527a7b
Adapt tests such that expected paths do not contain a leading /
2019-08-09 14:24:03 +02:00
xanonid
c75749b840
Do not use leading slashes for paths in layer tarballs to be more compatible with docker
2019-08-09 14:24:03 +02:00
Sharif Elgamal
56eeaf41e6
Merge pull request #452 from sharifelgamal/cache-fix
...
Create cache directory if it doesn't already exist
2019-08-02 13:41:38 -07:00
Sharif Elgamal
8a24115b6a
Prevent panic on nil image
2019-08-02 13:25:20 -07:00
v.rul
7750094ec1
Add checking image presence in cache prior to downloading it
...
This changes allow to use kaniko-warmer multiple times without unnecessary docker image downloads.
To check image presence in cache directory I'm using existing cache function that is used by kaniko-executor.
I've considered building separate function to only check image presence, but it will have pretty much the same code.
Questionable decision is to embed CacheOptions type to KanikoOptions and WarmerOptions. Probably this should be resolved by creating interface providing needed options and implement it both mentioned structs. But I've struggled to get a meaningfull name to it.
To replicate previous behaviour of downloading regardless of cache state I've added --force(-f) option.
This changes provides crucial speed-up when downloading images from remote registry is slow.
Closes #722
2019-07-24 18:09:21 +03:00
Taylor Barrella
3422d5572a
Misc. small changes/refactoring ( #712 )
2019-07-23 15:10:22 -07:00
Tejal Desai
19fb253e9c
Merge pull request #680 from tbarrella/go-containerregistry-upgrade
...
Update go-containerregistry
2019-07-23 14:35:19 -07:00