Upload the manifests after uploading the layers, to record that we've already uploaded a given image digest to the bucket (with an added backup of the manifest contents instead of an empty key).
Skip re-uploading layers when we already have the manifest uploaded.
DOES NOT serve clients from the mirrored manifests.
Should produce a pretty large speedup on the second run. We'll be able to skip making any calls for these images except 1) bulk listing references in the registry 2) one S3 call per manifest to confirm it's already uploaded.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/kubernetes/registry.k8s.io/blob/main/OWNERS)~~ [BenTheElder]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
DOES NOT serve clients from the mirrored manifests.
Should produce a pretty large speedup on the second run. We'll be able to skip making any calls for these images except 1) bulk listing references in the registry 2) one S3 call per manifest to confirm it's already uploaded.