Project

General

Profile

Bug #25615

Docker repositories sync - Limit Sync Tags is ignored

Added by Partha Aji about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Steps to Reproduce:
1. Create new product
2. Add repo of type docker to it; registry URL: https://registry-1.docker.io/ ; Upstream repository name: alpine
3. Set Limit Sync Tags value to `latest`
4. Sync repo

Actual results:
Entire repo is synced; Container Image Tags shows that 12 tags were synced

Expected results:
Only selected tag is synced (and synonymous tags will be synced).

Associated revisions

Revision bce600ed (diff)
Added by Partha Aji about 4 years ago

Fixes #25615 - Updates pulp on tags whitelist (#7865)

This commit updates pulp when docker_tags_whitelist is updated.

History

#1 Updated by Partha Aji about 4 years ago

$ hammer product create --name=docker --organization-id=1 
$ hammer repository create --product=docker --organization-id=1 --name=docker --content-type=docker  --url=https://registry-1.docker.io --docker-upstream-name=alpine
$ hammer repository update --docker-tags-whitelist=3.7 --product=docker --organization-id=1 --name=docker
$ hammer repository synchronize --product=docker --organization-id=1 --name=docker
$ hammer repository info --product=docker --organization-id=1 --name=docker
.....
....
Content Counts:              
    Container Image Manifest Lists: 9
    Container Image Manifests:      41
    Container Image Tags:           12

....

should be

Content Counts:              
    Container Image Manifest Lists: 1
    Container Image Manifests:      7
    Container Image Tags:           1

#2 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7865 added

#3 Updated by Partha Aji about 4 years ago

  • Bugzilla link set to 1649471

#4 Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Andrew Kofink about 4 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.10.1

Also available in: Atom PDF