0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-06 22:40:28 -05:00
zot/pkg/test
peusebiu 5494a1b8d6
fix(storage): do not open/download blobs when validating manifests (#1566)
when pushing manifests, zot will validate blobs (layers + config blob) are
present in repo, currently it opens(in case of filesystem storage) or download(
in case of cloud storage) each blob.

fixed that by adding a new method ImageStore.CheckBlobPresence() on storage
to check blobs presence without checking the cache like ImageStore.CheckBlob() method does.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-07-06 10:33:36 -07:00
..
inject refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
mocks fix(storage): do not open/download blobs when validating manifests (#1566) 2023-07-06 10:33:36 -07:00
oci-layout feat(cve): implemented trivy image scan for multiarch images (#1510) 2023-07-06 11:36:26 +03:00
bearer.go fix(mgmt): skip bearer authn for mgmt route (#1267) 2023-03-16 12:02:59 -07:00
common.go feat(cve): implemented trivy image scan for multiarch images (#1510) 2023-07-06 11:36:26 +03:00
common_test.go feat(cli): add referrers and search commands to cli (#1497) 2023-06-22 10:43:01 -07:00
test_http_server.go refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00