Bug #25615
closed
Docker repositories sync - Limit Sync Tags is ignored
Added by Partha Aji about 6 years ago.
Updated about 6 years ago.
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).
$ 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
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7865 added
- Bugzilla link set to 1649471
- Status changed from Ready For Testing to Closed
- Target version set to Katello 3.10.1
- Triaged changed from No to Yes
Also available in: Atom
PDF