What feature do you want to see added?
S3 Lifecycle policies to delete blobs are limited to size, prefix, or blobs with a particular object tag (key/value; no patterns allowed).
It would be nice for tags to be applied to S3 blobs uploaded for:
- type: stash or artifact
- workflow: pull-request, tag, or branch
The reason why this is desirable is I can set a lifecycle policy tailored to my needs.
e.g.
- Delete tags, branches, or PR artifacts after X days.
- Delete stashes after 1 day (stashes only survive the build).
So far, I can't delete stashes since they're not a part of a prefix. So for a stash-based policy the plugin either needs to reorganize its pathing or apply resource tags to uploaded S3 objects (ideally after the job completes; e.g. finished or failed).
Upstream changes
Unknown
Are you interested in contributing this feature?
I am interested but at the moment not a near-term thing I plan to implement.
Would anyone else find this desirable?
For now I just have a static 30 day policy (but I am paying for stashes hanging around for 30 days).
What feature do you want to see added?
S3 Lifecycle policies to delete blobs are limited to size, prefix, or blobs with a particular object tag (key/value; no patterns allowed).
It would be nice for tags to be applied to S3 blobs uploaded for:
The reason why this is desirable is I can set a lifecycle policy tailored to my needs.
e.g.
So far, I can't delete stashes since they're not a part of a prefix. So for a stash-based policy the plugin either needs to reorganize its pathing or apply resource tags to uploaded S3 objects (ideally after the job completes; e.g. finished or failed).
Upstream changes
Unknown
Are you interested in contributing this feature?
I am interested but at the moment not a near-term thing I plan to implement.
Would anyone else find this desirable?
For now I just have a static 30 day policy (but I am paying for stashes hanging around for 30 days).