Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate manifest in aql #135

Open
zhan9san opened this issue Mar 11, 2024 · 2 comments
Open

Duplicate manifest in aql #135

zhan9san opened this issue Mar 11, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@zhan9san
Copy link
Contributor

If there are two docker rules, there would be a duplicate manifest in aql.

********************************************************************************
Result AQL Query:
items.find({"$and": [{"repo": {"$eq": "example-docker-preprod-local"}}, {"$or": [{"path": {"$match": "foo/*"}}]}, {"name": {"$match": "manifest.json"}}, {"modified": {"$lt": "2024-01-11"}}, {"name": {"$match": "manifest.json"}}]}).include("*", "property", "stat")
********************************************************************************
    - name: Delete example-docker-preprod-local/foo/* older than 180 days
      rules:
        - rule: Repo
          name: example-docker-preprod-local
        - rule: IncludeDockerImages
          masks: foo:*
        - rule: DeleteDockerImagesOlderThan
          days: 180
@allburov
Copy link
Member

Does it affect the cleanup policy?

@allburov allburov added the help wanted Extra attention is needed label Mar 12, 2024
@zhan9san
Copy link
Contributor Author

Technically, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

2 participants