WhySoBad / abwart

Housekeeper for your docker registry which adds support for retention policies
GNU General Public License v3.0
2 stars 0 forks source link

Feature Request: Dry Runs / Test Runs #3

Open canadiannomad opened 3 weeks ago

canadiannomad commented 3 weeks ago

I'm really liking the idea of this project!

While setting this up, though, I'd love to receive more feedback on the configuration process. It would be nice to have a dry-run feature, or at least to see in the logs that the configuration was successful, the connection to the registry was established, and if there are specific images targeted for cleanup. Additionally, having the capability to test the cleanup process would be great.

I guess I'll find out tomorrow if it worked ;)

WhySoBad commented 3 weeks ago

Hi, thanks for your interest in this project!

Having a dry run feature would certainly be nice. I'm imagining having a cli inside the container which could perform dry runs (similar to the registry cli in the official registry image).

[...] see in the logs that the configuration was successful, the connection to the registry was established, and if there are specific images targeted for cleanup [...]

I don't fully understand what you mean by this. When should those logs be displayed? And could you provide me a format in which you'd want those logs?

PS: Did you see the disclaimer about the cleanup breaking images? The code which fixes this bug was merged but there has not been a registry release since.

Thanks :)