poy
0a2f2957ec
when copying, skip files with the same name
...
When using the COPY command, if the source and destination have the same
the file should be skipped rather than copied. This is to prevent the
file from being overwritten and therefore producing an empty file.
fixes #904
2019-12-08 00:57:27 -07:00
Cole Wippern
54635c3d39
don't exit optimize early so we record cache keys
2019-11-27 17:09:00 -08:00
Cole Wippern
2755ae4470
Final cachekey for stage
...
Store the last cachekey generated for each stage
If the base image for a stage is present in the map of digest
and cachekeys use the retrieved cachekey instead of the base image
digest in the compositecache
2019-11-27 14:40:05 -08:00
Cole Wippern
bfd8562855
Merge pull request #879 from cvgw/u/cvgw/update_error_handling_and_logging_for_cache_retrieve
...
Update error handling and logging for cache
2019-11-23 10:20:40 -08:00
Cole Wippern
a6e458caf1
Update error handling and logging for cache
...
Previously we returned a low level file system error when checking for
a cached image. By adding a more human friendly log message and explicit
error handling we improve upon the user experience.
2019-11-22 14:54:38 -08:00
Cole Wippern
b057776849
Merge pull request #857 from cvgw/u/cgwippern/symlink-bug
...
Resolve symlink targets to abs path before copying
2019-11-22 10:02:58 -08:00
Cole Wippern
2b26dfea61
Add unit tests for resolveIfSymlink
2019-11-15 11:23:15 -08:00
Cole Wippern
2c13842451
Resolve symlink paths
2019-11-15 11:23:15 -08:00
Cole Wippern
50f1373837
Update Add command RequiresUnpackedFS
2019-11-15 11:23:15 -08:00
Cole Wippern
006b4996cb
Fix quote strip behavior for ARG values
...
* fixes issue 847
* previous implementation did not properly parse blank
values which were enclosed in quotes
2019-11-08 14:28:31 -08:00
Tejal Desai
1d5e294f27
Merge pull request #841 from wripley/master
...
Added --image-name-with-digest flag
2019-11-08 08:24:26 -08:00
Tejal Desai
b04d15db82
fix the issue now
2019-11-07 15:29:56 -08:00
Tejal Desai
f36dd4013c
only add tests
2019-11-07 15:17:25 -08:00
Tejal Desai
334f0c70d6
fix golint
2019-11-07 15:11:29 -08:00
Tejal Desai
b29431227a
fix tests for default home
2019-11-07 15:07:50 -08:00
Tejal Desai
5bbb40e4f0
Merge pull request #834 from cvgw/u/cgwippern/ISSUE_439_strip_arg_quotes
...
Issue #439 Strip out double quotes in ARG value
2019-11-07 10:54:17 -08:00
Don McCasland
5716c44ab8
Merge branch 'master' into bug-742-2
2019-11-04 09:25:25 -08:00
Will Ripley
c8f089fdbb
Fixed formatting errors with push.go and push_test.go
2019-10-29 13:09:27 -05:00
Will Ripley
a0651436b5
Changed image name to be full image name minus tag. Also added test for new ImageNameDigestFile flag
2019-10-29 12:55:50 -05:00
Will Ripley
c2faa4e5e6
Fixed spacing issue in config
2019-10-29 11:04:33 -05:00
Will Ripley
08d0948510
Merge remote-tracking branch 'upstream/master'
2019-10-29 11:02:16 -05:00
Will Ripley
f38c47daa0
Made changes to --image-name-with-digest-file to support multiple destinations
2019-10-29 10:55:49 -05:00
Cole Wippern
0ce287d95c
ISSUE #439 ci lint
2019-10-25 16:27:14 -07:00
Cole Wippern
ec2e7705c8
Issue #439 add additional tests for quotes
...
Add additional tests to ensure that ARG values with quotes
are handled properly
2019-10-25 16:08:57 -07:00
Tejal Desai
c5bc179c85
Merge pull request #816 from yangtaokm/azure-blobstorage-https
...
[WIP] Add support to download context file from Azure Blob Storage
2019-10-25 10:51:50 -07:00
Cole Wippern
79649a1614
Issue #439 double quotes in ARG value
...
* Strip out double quotes enclosing ARG value after parsing
dockerfile
2019-10-24 16:30:25 -07:00
yangtaokm
aa881d59cb
fix gofmt
2019-10-22 17:10:08 +08:00
yangtaokm
45c43a2c89
refactory the code and add CreateTargetTarfile in fs_util.go
2019-10-22 16:44:51 +08:00
Will Ripley
4c9a800e12
Added image digest file path
2019-10-21 11:55:55 -05:00
Tao Yang
a86ffc8c57
Apply suggestions from code review
...
fix formatting based on review
Co-Authored-By: Tejal Desai <tejal29@gmail.com>
2019-10-21 10:19:32 +08:00
Prashant
fa162e3005
changing debug to trace
2019-10-18 19:03:11 +05:30
yangtaokm
78e9974694
Add more test case for azureblob_util.go
2019-10-14 13:55:03 +08:00
yangtaokm
3e6a24b152
Initial commit for Azure Blob Storage SupportX
2019-10-13 20:52:19 +08:00
Don McCasland
27020f23b9
Resolving comments
2019-10-08 12:19:20 -07:00
Don McCasland
2b6965b294
addressing lint issues
2019-10-07 13:11:09 -07:00
Don McCasland
2d73c2d996
addressing lint issues
2019-10-07 13:06:40 -07:00
Don McCasland
2eace1d511
Refactoring to add use of a tempdir
2019-10-07 12:56:34 -07:00
Don McCasland
4e1639c030
Addressing review comments
2019-10-07 10:46:28 -07:00
Tejal Desai
529bc4f20e
Merge pull request #805 from tejal29/fix_720
...
add debug level info what is the layer type
2019-10-04 16:19:49 -07:00
Tejal Desai
1a88d7ae9c
better logging
2019-10-04 16:04:12 -07:00
Tejal Desai
3ad9255806
add debug level info what is the layer type
2019-10-04 15:51:05 -07:00
Tejal Desai
1c821d050c
Merge pull request #796 from prary/version
...
Kaniko version
2019-10-04 14:32:14 -07:00
Tejal Desai
b57160198e
fix bad merge
2019-10-04 11:20:41 -07:00
Tejal Desai
f206e3f425
Merge branch 'master' into output
2019-10-04 08:43:02 -07:00
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
Prashant
f9424d43e7
fixing lint and minor fix
2019-10-03 21:29:40 +05:30