0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/test/blackbox
peusebiu 377aff1853
fix(sync): fixed skipping docker images when they already synced (#1521)
before syncing an image we first check if it's already present in our storage
to do that we get the manifest from remote and compare it with the local one
but in the case of syncing docker images, because the conversion to OCI format is done while
syncing, we get a docker manifest before conversion, so sync detects that local manifest and
remote one are different, so it starts syncing again.

to overcome this, convert remote docker manifests to OCI manifests and then compare.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-06-21 11:05:52 -07:00
..
annotations.bats chore: fix dependabot alerts (#1409) 2023-05-11 16:39:21 -07:00
anonymous_policy.bats feat(groups)!: added "groups" mechanism for authZ (#1123) 2023-03-08 11:47:15 -08:00
cloud-only.bats refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
cve.bats fix: replaced used CVE in blackbox test (#1519) 2023-06-15 13:22:29 +03:00
detect_manifest_collision.bats feat(groups)!: added "groups" mechanism for authZ (#1123) 2023-03-08 11:47:15 -08:00
helpers_cloud.bash refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07: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_referrers.bash feat(repodb): update referrers api to use repodb (#1230) 2023-03-10 10:37:29 -08:00
helpers_scrub.bash Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
helpers_sync.bash refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07:00
metadata.bats feat(repodb): add user related information to repodb (#1317) 2023-04-24 11:13:15 -07:00
metrics.bats chore(go.mod): fix dependabot alerts (#1210) 2023-02-17 13:54:49 -08:00
pushpull.bats refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
pushpull_running_dedupe.bats refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07:00
referrers.bats refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
restore_s3_blobs.bats refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07:00
scrub.bats feat(storage): rebuild storage(s3/local) dedupe index when switching dedupe status (#1062) 2023-04-07 09:49:24 -07:00
sync.bats refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07:00
sync_docker.bats fix(sync): fixed skipping docker images when they already synced (#1521) 2023-06-21 11:05:52 -07:00
sync_harness.bats refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07:00