is it possible to apply a retention policy on an external feed (a fileshare, in my case) similar to how it is applied to the internal nuget feed?
if not currently, maybe as a new feature?
(otherwise, I’ll be needing to develop my own tool to do this.)
Thanks for reaching out. Octopus can’t do that at the moment, and its not something that’s on our plans to support. You’re gonna have to script that one yourself.
Sorry its not the answer you were looking for.
Quick update here. The line
not on our plans to support might not have been entirely true. This is something that has been discussed before on the team, and it is in our radar. I just totally forgot about it (sorry about that!)
We are working on a feature that’s very similar to the concept of webhooks that might be able to help here. The feature will basically trigger custom actions when specific events occur. In this case It could trigger a feed check and cleanup every time you push a package.
You can read more about it on this RFC: https://octopus.com/blog/rcf-octopus-reactions-integration-toolkit