diff options
author | Benjamin Copeland <ben.copeland@linaro.org> | 2018-10-17 12:08:53 +0100 |
---|---|---|
committer | Benjamin Copeland <ben.copeland@linaro.org> | 2018-11-13 11:23:41 +0000 |
commit | b156abd87b29c82da267d8030a8409531d3cc5f1 (patch) | |
tree | 9e32994d9d36c7971a7be9a7f2c363ee689adfe8 /fda3d9d | |
parent | f25b35ef028cc1ac1563f74541b72c69002dd3cd (diff) |
s3_purge: Delete S3 versioned objects
Our bucket has grown too big over time, this change will allow S3
objects to be fully deleted from S3.
The script is split into two ways (ish):
1. No options will mark the objects that are over --markdays as deleted.
This is only a version marker in S3 and as such will now delete the
file.
2. --forcedelete is used to permanently delete that marked file. This is
only ran within the deletedays period.
2a. --cleanup_releases. This cleans up all marked objects in the releases/
prefix. This needs to be used with --forcedelete since it will
permanently delete objects. Since we don't have a life time policy for
releases/ this is only ever going to delete files that are older than
deletedays.
Change-Id: I438526978c186f96af4ee689bd0eb2340bc94c01
Reviewed-on: https://review.linaro.org/28796
Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
Diffstat (limited to 'fda3d9d')
0 files changed, 0 insertions, 0 deletions