-
Notifications
You must be signed in to change notification settings - Fork 901
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What would you like to be added?
Allow retention-days
to be 0
meaning do not store artifacts after workflow run.
Why is this needed?
- You have no use of artifacts after workflow run
- You don't want them to take up space for minimum period of 24h
- 24h duration seems arbitrary chosen (edit: It might be limitation of backing storage being used "the minimum retention interval for a time-based retention policy is one day...")
- 24h is too long to not hit your CI storage limit
- Available storage calculation is buggy or takes a while to update after hitting storage limit and deleting artifacts
- How to remove uploaded artifact? #5
- Size limits? #9
- retention-days-if: days expression [feat req] #301
- Error: Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts #307
- Is there any way to remove all the artifacts at once in repo level? #148
- Artifacts exceeded limits #59
- Support transient/temporary artifacts with a retention period of 0 #45
- Delete Artifacts using @actions/artifact toolkit#380
These solutions might be proposed but actually doesn't solve the problem with few points why I think they don't.
Use UI
- You might not have permissions to delete artifacts
- You have to go through all workflow runs without indication if it contains artifact or not
- You have to delete all artifacts one by one manually
Use API
- Seems like an overkill for something I would argue should be native functionality
- You need to rely on API which might become obsolete or stop working
Use action from marketplace
- I think this should be native functionality
- You need to choose "right" action which might become unmaintained
This issue is duplicate
- I think I mentioned problems people are actually having by going through issues and threads on other sites
- I have found no suitable solution in other issues
- I think other relevant issues are worded poorly and making it seem they don't know how to delete some specific artifact once when in fact after reading into their problem more they actually want what I described here
kjagiello, praenubilus, Vizavi, loreggia, hitech95 and 233 morec5n8 and eirnymRushanM and c5n8c5n8shealavington, duaneking, dario-digregorio, alegrey91, ADTC and 4 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request