tickets/DM-43203: Add lifecycle rules to clean up mobu git-lfs artifacts#498
Draft
athornton wants to merge 2 commits into
Draft
tickets/DM-43203: Add lifecycle rules to clean up mobu git-lfs artifacts#498athornton wants to merge 2 commits into
athornton wants to merge 2 commits into
Conversation
f4c1865 to
2d1bbee
Compare
Contributor
Author
|
Whoa whoa whoa whoa. I tried specifying matchesPrefix from https://cloud.google.com/storage/docs/lifecycle#matchesprefix-suffix First it told me it wanted a string rather than a list, but since it's a one-item list, OK...but then the rule it came up with has no matchesPrefix! So it would delete EVERYTHING in the bucket more than a day old! https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket#matches_prefix seems like a) it should have taken a list ("one or more") and b) it should have done something. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Git-LFS uploads from mobu (only) will be deleted after one day, so presumably we will have between 1440 and 2880 items at any given time.