Comments (3)
Hi! I think the supported version right now is with no v
at the start - 2.32.0
Have a look at the tests https://github.com/devopshq/artifactory-cleanup/blob/master/tests/test_rules_docker.py
Try to add v
in the custom_regexp or play with regexp a bit if it doesn't help
- rule: KeepLatestNVersionImagesByProperty
count: 1
custom_regexp: "v[^\\d][\\._]((\\d+\\.)+\\d+)"
from artifactory-cleanup.
Thank you! i've tried now with both and it seems like the problem lies possibly with repos that have repos with multiple denominations like some of them being v2.1... and some of them being flag 2.1... Ill test some more.
from artifactory-cleanup.
Same error here. Extending the regex to include a ^v
makes it break a couple of lines further, since version
is converted into a tuple of ints:
File "/usr/local/lib/python3.9/site-packages/artifactory_cleanup/rules/docker.py", line 224, in get_version
version = tuple(map(int, version_str.split(".")))
ValueError: invalid literal for int() with base 10: 'v1'
from artifactory-cleanup.
Related Issues (20)
- Add option KeepLatestNImages HOT 2
- Problems with trashcan and conan HOT 3
- Possibility to use Regex HOT 5
- Exclude repo while deleting artifacts older than n days HOT 2
- how to delete empty folder with specific name HOT 2
- on prime - auth issue " 401 Client Error " HOT 3
- ExcludeDockerImages masks end up in missing layers HOT 2
- How to failover when Artifact is not found HOT 9
- Add support for using environment variables to pass parameters
- Question: Can someone advice best way how to manage Conan packages with revisions with Artifactory-cleanup? HOT 1
- Formatting Question - Possible Bug HOT 1
- docker-usage not possible HOT 2
- Create an LRU cleanup policy (redis-like)
- check method is a conflict in IncludeDockerImages rule HOT 1
- Duplicate manifest in aql HOT 2
- Bug: KeepLatestNVersionImagesByProperty - ValueError: Can not find version in [..] for multi-arch builds (buildx) HOT 1
- manifest_to_docker_images fails as path is not splittable
- Support for multi arch buildx images HOT 2
- Support for Archiving to Artifactory Cold Storage
- Ignore-not-found issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artifactory-cleanup.