Skip to content

[CI] Add Lifecycle Rules to GCS Buckets #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

boomanaiden154
Copy link
Contributor

This patch adds lifecycle rules to the GCS buckets to delete old objects.
We do not want to keep object files around for very long as they quickly
become out of date. GCS does not keep track of the last time a file was
fetched, so we have to rely on the creation date. The granularity for when
to delete an object can only be specified in days, so we set it to one
day for now.

boomanaiden154 added a commit to boomanaiden154/llvm-zorg that referenced this pull request Jul 23, 2025
This patch adds lifecycle rules to the GCS buckets to delete old objects.
We do not want to keep object files around for very long as they quickly
become out of date. GCS does not keep track of the last time a file was
fetched, so we have to rely on the creation date. The granularity for when
to delete an object can only be specified in days, so we set it to one
day for now.

Pull Request: llvm#519
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
@boomanaiden154 boomanaiden154 changed the base branch from users/boomanaiden154/main.ci-add-lifecycle-rules-to-gcs-buckets to main July 23, 2025 16:14
@boomanaiden154 boomanaiden154 merged commit 04f7fc9 into main Jul 23, 2025
5 checks passed
@boomanaiden154 boomanaiden154 deleted the users/boomanaiden154/ci-add-lifecycle-rules-to-gcs-buckets branch July 23, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants