kaniko/pkg/executor
Gabriel Nützi 323e616a67
fix: Refactor `LayersMap` to correct old strange code behavior (#2066)
* fix: Correct flatten function in layers

- Added a test.
- Cache current image, track deletes in `whiteouts` as well as normal adds in `layers`.
- Fix ugly delete behavior of `layerHashCache`.
  Delete it when crerating a new snapshot.
- Slight cleanup in `snapshot.go`.
- Format ugly `WalkFS` function.

* fix: Add symbolic link changes  to Hasher and CacheHasher

* fix: Better log messages

* fix(ci): Integration tests

* fix(ci): Add `--no-cache` to docker builds

* fix(ci): Pass credentials for error integration test

* np: Missing .gitignore in `hack`

* np: Capitalize every log message

- Correct some linting.

* fix: Key function

- Merge only last layer onto `currentImage`.

* fix: Remove old obsolete `cacheHasher`
2022-05-17 20:30:58 -04:00
..
build.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
build_test.go Use canonical platform values. Fix 1995. (#2025) 2022-03-31 15:15:24 -04:00
composite_cache.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
composite_cache_test.go test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00
copy_multistage_test.go feat: kaniko dir config option (#1997) 2022-03-31 15:10:23 -04:00
fakes.go chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00
push.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
push_test.go test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00