How can I delete old build artifacts?

mike's Avatar

mike

01 Jul, 2020 01:12 PM

Our project uses Appveyor for building binaries at each commit

https://ci.appveyor.com/project/scudette/velociraptor-ialou/builds/33846270

Now it started failing to upload the binaries and a quick search shows we may have exceeded storage quotas. Only I can not figure out how to monitor storage quotas or how to delete older binaries. We find it really useful to let users have the most recently build binary for testing but we really do not need to keep them for 6 months.

Is there any way I can reduce the retention period or manually delete artifacts? I tried to delete older builds in the GUI but this seems to have no effect on the quota - our builds are still failing to upload. It would really help if we can see the amount of space used too so we can know when we are getting close to full.

Thanks
Mike

  1. 1 Posted by ZS on 01 Aug, 2020 10:12 AM

    ZS's Avatar

    See a similar issue at https://help.appveyor.com/discussions/problems/18191-setting-autodelete-policies-for-deleting-old-artifacts where Ilya Finkelshteyn's wrote:

    We do not expose deletion of specific artifacts. For those who collect them faster than our retention policy we are OK to increase as long as we do not see and abuse.

  2. 2 Posted by mike on 01 Aug, 2020 12:09 PM

    mike's Avatar

    This makes little sense if it randomly breaks builds. AFAICT there is no way to even see when we get close to exceeding the quota either - the first we hear of it is when the CI pipeline breaks then we have to urgently try to contact someone to bring it back. I am sure there are valid reasons for not exposing this functionality - maybe they should be better communicated?

    It makes for a very unreliable service since we can not depend on it if it may stop working suddenly. I initially thought that deleting the project and recreating clears the old artifacts but it does not seem to do that (I thought that worked once but the second time this broke for us it didnt work).

    Anyway this specific issue is fine now so I will close it but as feedback please consider adding this feature or some self-help mechanism to ensure the builds do not break (maybe even an alert - you are within 90% of your storage quota, please do something about it email would really help).

  3. mike closed this discussion on 01 Aug, 2020 12:09 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac