Project

Profile

Help

Story #2384

closed

As a user I can sync manifest lists

Added by ipanova@redhat.com over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Platform Release:
2.14.0
Target Release - Docker:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 22
Quarter:

Description

As a result of this story, Pulp Docker will support manifests lists for sync, publish and copy.

https://docs.docker.com/registry/spec/manifest-v2-2/#manifest-list

To support manifest lists we need to:
1. Manifest list will be a new content type, so a Manifest list model should be defined.
2. During sync always make 3 requests to the registry and in each request set properly the headers( We would need to make 3 requests to support schema 1, schema2 and manifest lists)
- some parts of sync logic should be changed so it would correctly process manifest list and its image manifests
- also some changes would be needed to be done to the copy operation, so it would properly copy referenced image manifests in the list
- also some changes would need to be in the tagging of the manifest, so it would tag properly the manifest list and respect the fact that the tag is unique per repo
3. As a result of 3rd request we will have to save to the DB manifest list
4. Update Tag model, so it would be aware that it references a manifest list. Based on changes, write a migration.
5. Update apache config to set headers for published manifest list directory to reflect the correct Content-Type, similar to existing behavior with schema 1 vs 2
6. Change publish dir structure, so it would add a directory for manifest lists
7. Change the schema of the crane metadata file to add manifest lists
8. Change publish to create the new crane metadata file
9. Release notes and user docs
10. update crane metadata file docs


Sub-issues 1 (0 open1 closed)

Crane - Story #2385: Update crane to serve manifest listsCLOSED - CURRENTRELEASEipanova@redhat.com

Actions

Related issues

Blocked by Docker Support - Story #2099: As a user, I can sync v2 schema manifestsCLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Copied to Docker Support - Story #2766: As a user I can sync and publish manifest listsCLOSED - WONTFIX

Actions

Also available in: Atom PDF