Tejal Desai
6b020a1f97
fix highwayhash
2019-12-21 12:18:09 -08:00
Tejal Desai
5a2cfeabba
remove dep.sh
2019-12-21 12:18:09 -08:00
Prashant Arya
f28d0e4009
upgrading go to version 1.13.3
2019-12-21 12:18:09 -08:00
Prashant Arya
976b4265fb
changing to modules from dependencies
2019-12-21 12:18:09 -08:00
Tejal Desai
9ebee24bf3
Merge pull request #922 from GoogleContainerTools/release_15
...
release notes v0.15.0
2019-12-20 10:50:16 -08:00
Tejal Desai
21b824b186
bump version
2019-12-20 10:34:02 -08:00
Tejal Desai
fdbf8e0c89
release notes
2019-12-20 10:26:50 -08:00
Tejal Desai
a675098b45
Merge pull request #914 from cvgw/u/cvgw/fix-copy-command-cache-keys
...
Fix #899 cached copy results in inconsistent key
2019-12-16 11:45:06 -08:00
Cole Wippern
9e9b8a6e71
Fix #899 cached copy results in inconsistent key
...
* Update cached copy command to return the same result for
files used from context so that cached and uncached copy
commands produce the same cache key
* Update tests for fix
* Add test for cached run command key consistency
2019-12-15 10:23:31 -08:00
Tejal Desai
d72a960600
Merge pull request #912 from jsoref/contributing-if-exists
...
Fix contribution issue sentence
2019-12-13 13:57:47 -08:00
Tejal Desai
6cdd9b7069
Merge pull request #888 from cvgw/u/cvgw/caching_unit_tests
...
add unit tests for caching run and copy
2019-12-13 13:57:01 -08:00
Tejal Desai
14e144931b
Merge pull request #898 from cvgw/u/cvgw/improve-integration-test-runner
...
Only build required docker images for integration tests
2019-12-13 13:41:31 -08:00
Josh Soref
fe47e3f151
Fix contribution issue sentence
2019-12-11 18:02:48 -05:00
Cole Wippern
2aa481c15e
add unit tests for caching run and copy
2019-12-10 09:29:10 -08:00
Cole Wippern
f8507eb323
Merge pull request #883 from cvgw/u/cvgw/include_source_stage_digest_in_cache_key_copy_from_commands
...
Include source stage cache key in cache key for COPY commands using --from
2019-12-10 09:23:25 -08:00
Cole Wippern
b19214ad1e
Use cachekey not digest for COPY --from src
...
* use the cachekey of the src stage rather than the digest
for COPY --from commands as they are reproducible unlike digests
* track digest to cache keys and stage indexes to digest
* add extra debug logging for troubleshooting cachekey building issues
* convert Sha256 hashes to hex encoded strings rather than plain strings
for easier human reading
2019-12-10 08:45:13 -08:00
Cole Wippern
7b4b768edf
Update copy command cache key logic
...
Include the digest of the stage specified in the --from argument for
COPY commands which use --from
2019-12-09 16:48:20 -08:00
Tejal Desai
acb5b9f7c9
Merge pull request #839 from antechrestos/fix/upcase_for_from_stage_name
...
Fix failure when using capital letters in image alias in 'FROM ... AS…' instruction
2019-12-09 15:39:39 -08:00
Tejal Desai
632651581e
Merge pull request #906 from Pweetoo/master
...
updated readme
2019-12-09 15:39:14 -08:00
Cole Wippern
05447f1eaa
clean up unused code
2019-12-09 13:57:59 -08:00
Tejal Desai
03b1b1ce4c
Merge pull request #905 from poy/fixes/904
...
when copying, skip files with the same name
2019-12-09 13:07:13 -08:00
Tejal Desai
56f92e74af
Merge pull request #849 from wripley/master
...
Modified error message for writing image with digest file
2019-12-09 12:57:33 -08:00
Tejal Desai
05da029663
Merge pull request #872 from edbighead/fix/readme-anchors
...
Fix README.md anchor links
2019-12-09 12:54:52 -08:00
Tejal Desai
6e4811ad9f
Merge pull request #876 from totomz/not-valid-link-ecr-readme
...
Invalid link to missing file config.json
2019-12-09 12:53:53 -08:00
Tejal Desai
a7bbe171fb
Merge pull request #861 from GoogleContainerTools/balopat-patch-1
...
nits in README
2019-12-09 12:51:59 -08:00
Tejal Desai
4105871f18
Merge pull request #890 from cvgw/u/cvgw/compositecache-and-stagebuilder-unit-tests
...
Add unit tests for compositecache and stagebuilder
2019-12-09 12:40:40 -08:00
Tejal Desai
db8f8ad8a8
Merge pull request #893 from cvgw/u/cvgw/golangci-lint-configfile
...
Add golangci.yaml file matching current config
2019-12-09 12:21:35 -08:00
Pweetoo
32e321af78
updated readme
...
Added argument -n for echo command.
2019-12-09 09:15:26 +01:00
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
Ben Einaudi
d22a7608c2
Fix failure when using capital letters in image alias in 'FROM ... AS' instruction
...
The third library moby/buildkit lowers the image alias used in 'FROM .. AS' instruction.
This change fixes this issue by making the resolve of dependencies agnostic to case.
Fixes #592
Fixes #770
2019-12-06 12:04:26 +01:00
Cole Wippern
c2645b2207
Fix #897 - only build required docker images
...
Only build the docker images required for the integration tests which
will be executed rather than building all docker images every time.
2019-12-02 13:19:43 -08:00
Cole Wippern
6734a9714d
add golangci.yaml file matching current config
2019-11-28 10:08:48 -08:00
Cole Wippern
7ba65daf7f
cleanup executor/build_test.go
2019-11-28 09:36:39 -08:00
Cole Wippern
828e764b95
add boilerplate for composite_cache_test
2019-11-28 09:18:58 -08:00
Cole Wippern
6d0c8da90e
more stagebuilder caching tests
2019-11-28 08:42:13 -08:00
Cole Wippern
33f3191b17
Don't hardcode hashes for stagebuilder tests
2019-11-27 21:47:00 -08:00
Cole Wippern
697037cbcf
Add unit tests for compositecache and stagebuilder
...
* add mock types for testing
* enhance error messaging
* add tests
2019-11-27 21:47:00 -08:00
Cole Wippern
034ac9e258
Merge pull request #892 from cvgw/u/cvgw/dont-break-keep-collecting-cache-keys
...
Don't exit optimize early; record last cachekey
2019-11-27 17:26:39 -08:00
Cole Wippern
54635c3d39
don't exit optimize early so we record cache keys
2019-11-27 17:09:00 -08:00
Cole Wippern
ee376c79d0
Merge pull request #891 from cvgw/u/cvgw/last-cachekey-or-base-image-digest
...
Final cachekey for stage
2019-11-27 15:07:37 -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
Eduard Laur
c2a8b33f9c
Fix README.md anchor links
2019-11-26 12:54:55 +02: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
d6f1ec1b37
Merge pull request #874 from cvgw/u/cgwippern/update_doc_images_registries
...
Update readme known issues
2019-11-22 08:20:50 -08:00
tommaso.doninelli
c49b4747bd
Invalid link to missing file config.json
...
Link points to the AWS ECR Credentials Helper config that explain how to
configure it
2019-11-22 07:12:31 +01:00
Cole Wippern
02db3c18fa
Update readme
...
* Know Issues
* kaniko in non-official images
* v1 Registry Schema
2019-11-21 12:58:19 -08:00
priyawadhwa
e0e59e619c
Merge pull request #863 from cvgw/u/cvgw/add_env_variables
...
Add integration test for add url with arg
2019-11-18 11:40:39 -08:00
Cole Wippern
1ec2387940
Add integration test for add url with arg
2019-11-15 14:44:39 -08:00