Commit Graph

978 Commits

Author SHA1 Message Date
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 c54d1a5e72
Merge branch 'master' into fix-toc-in-readme 2019-12-09 12:56:50 -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
Prashant Arya 857715012f changing log level 2019-11-26 17:52:11 +00: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
Daniel Strobusch 0c1949ba1d
Update outdated toc in README.md
Links to command line arguments where all broken on github, since preceding dashes where missing from the links. This commit contains an autogenerated doc after running: doctoc --github README.md (version 1.4.0)
2019-11-17 13:05:21 +01:00
Cole Wippern 1ec2387940 Add integration test for add url with arg 2019-11-15 14:44:39 -08:00
Tejal Desai 4f789a0dfe
Add survey link to Readme. 2019-11-15 12:04:11 -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 8f66e8613f Add new test for copy to symlink which should fail 2019-11-15 11:23:04 -08:00
Balint Pato 8eb05761ad
nits 2019-11-15 09:50:44 -08:00
Tejal Desai b5fd55625d
Merge pull request #850 from cvgw/u/cgwippern/847_empty_arg_bug
Fix quote strip behavior for ARG values
2019-11-14 15:26:16 -08:00
Tejal Desai 907ae256a4
update Readme.md 2019-11-11 10:38:18 -08:00
Tejal Desai a122fc6360
Add Slack channel url 2019-11-11 10:35:02 -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
priyawadhwa 8e44019b48
Merge pull request #848 from priyawadhwa/release
Release to v0.14.0
2019-11-08 11:04:59 -08:00
Will Ripley f6aa8f709b Modified error message for writing image with digest file 2019-11-08 12:59:25 -06:00
Priya Wadhwa 8e2493a18c update to v0.14.0 2019-11-08 10:48:53 -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 87726505a9
Merge pull request #824 from tejal29/better-tests
fix tests for default home
2019-11-08 08:24:03 -08:00