Bug P2
Status Update
Comments
fr...@tradera.com <fr...@tradera.com> #2
I have forwarded this request to the engineering team. We will update this issue with any progress updates and a resolution.
Best Regards,
Josh Moyer
Google Cloud Platform Support
Best Regards,
Josh Moyer
Google Cloud Platform Support
Description
- A deletion policy on olderThan may delete an artifact (e.g. a Docker image) that is used in production
- This could be partially prevented by combining with a "mostRecentVersions" policy under the assumption that the production artifacts are among the last N uploaded to GAR. However, if this assumption fails, a production outage will happen anyways.
A robust way to solve this is having a policy that deletes an artifact only if it hasn't been accessed in the last N days
[1]
[2]