Project

Profile

Help

Story #6922

closed

As a user I can exclude tags

Added by ipanova@redhat.com over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:

Description

For example - on the remote registry i have tags ['latest', 'latest-source', 16.1, 16.0-1, 16.0, 16.0-2, 16.2]

I want to filter out tags that have '-source'. Source containers can be big and this will impact repo size as well as sync time.

We use fnmatch module. Add an option exclude_tags. It will also use fnmatch module. Exclude_tags will override include_tags if same tag was mentioned in both places.

Examples:

include_tags = ['latest', '16.0*]

exclude_tags = ['latest', '*-source']

What will be mirrored is: [ 16.0-1, 16.0, 16.0-2]


Related issues

Related to Docker Support - Story #6933: As a user I can opt out of mirorring source containers.CLOSED - WONTFIX

Actions

Also available in: Atom PDF