Project

Profile

Help

Story #4169

As a user I can sync a registry by whitelisting tag( Filtered sync)

Added by ipanova@redhat.com over 1 year ago. Updated about 1 month ago.

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

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 52

Description

Motivation:

We're currently sync'ing some very large repos. In reality we're only interested in the particular tags but we're getting everything, which is weighing in at TBs at present and growing with each puddle for each version.

It would be nice to be able to limit the tags we sync.

Solution:

Provide a config on the Remote config called "whitelist_tags". This config will accept comma separated values of tags to sync.

When the "whitelist_tags" option is provided:

Pulp will sync just those tags + manifests associated with the tags and all the corresponding layers. In case of on_deman download policy layers won't be downloaded.

Note: If the list of tags was changed, and tag X is not wanted anymore, a manual removal of that tag X should occur in the local repo( in case repo is not in a mirror mode, mirror is not supported for now)
Note: If some invalid tags provided are invalid, Pulp will only sync the available ones in the remote repo.

When the "whitelist_tags" option is not provided:
Pulp will sync the whole repo.

For pulp2 implementation check https://github.com/pulp/pulp_docker/pull/241


Related issues

Related to Container Support - Test #5277: Test - As a user I can sync a registry by whitelisting tag( Filtered sync) NEW Actions

Associated revisions

Revision 8c57840d View on GitHub
Added by ipanova@redhat.com 10 months ago

As a user i can whitelist tags when syncing from a registry.

closes #4169 https://pulp.plan.io/issues/4169

Revision 8c57840d View on GitHub
Added by ipanova@redhat.com 10 months ago

As a user i can whitelist tags when syncing from a registry.

closes #4169 https://pulp.plan.io/issues/4169

Revision 8c57840d View on GitHub
Added by ipanova@redhat.com 10 months ago

As a user i can whitelist tags when syncing from a registry.

closes #4169 https://pulp.plan.io/issues/4169

Revision 8c57840d View on GitHub
Added by ipanova@redhat.com 10 months ago

As a user i can whitelist tags when syncing from a registry.

closes #4169 https://pulp.plan.io/issues/4169

History

#1 Updated by ipanova@redhat.com over 1 year ago

  • Description updated (diff)

#2 Updated by ipanova@redhat.com 11 months ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 52

#3 Updated by ipanova@redhat.com 10 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

#4 Updated by ipanova@redhat.com 10 months ago

  • Description updated (diff)
  • Status changed from ASSIGNED to POST

#5 Updated by ipanova@redhat.com 10 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Applied in changeset commit:pulp_docker|8c57840d1e913dec5a02a8bd034648626a46a62b.

#6 Updated by bmbouter 10 months ago

  • Tags deleted (Pulp 3)

#7 Updated by kersom 7 months ago

  • Related to Test #5277: Test - As a user I can sync a registry by whitelisting tag( Filtered sync) added

#8 Updated by ipanova@redhat.com 3 months ago

  • Project changed from Docker Support to Container Support

#9 Updated by ipanova@redhat.com 3 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#10 Updated by ipanova@redhat.com about 1 month ago

  • Sprint/Milestone set to 1.0.0

Please register to edit this issue

Also available in: Atom PDF