0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/test/blackbox
peusebiu 168d21da1e
fix(storage): deleting manifests with identical digests (#951)
Suppose we push two identical manifests (sharing same digest) but with
different tags, then deleting by digest should throw an error otherwise
we end up deleting all image tags (with gc) or dangling references
(without gc)

This behaviour is controlled via Authorization, added a new policy
action named detectManifestsCollision which enables this behaviour

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>

Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-11-18 09:35:28 -08:00
..
annotations.bats build: move build artifacts into build/ (#986) 2022-11-10 12:09:39 -08:00
anonymous_policy.bats fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
cve.bats Remove AllowReadOnly and ReadOnly 2022-08-10 14:27:21 -07:00
detect_manifest_collision.bats fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
helpers_cve.bash Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
helpers_metrics.bash Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
helpers_pushpull.bash regclient blackbox tests and regclient installation in Makefile 2022-07-28 16:14:47 +03:00
helpers_scrub.bash Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
helpers_sync.bash Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
metrics.bats Remove AllowReadOnly and ReadOnly 2022-08-10 14:27:21 -07:00
pushpull.bats feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
scrub.bats add enable/disable option for scrub extension (#827) 2022-09-27 18:06:50 -07:00
sync.bats Remove AllowReadOnly and ReadOnly 2022-08-10 14:27:21 -07:00