Skip to content
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

Adding lifecycle configuration #3230

Merged
merged 1 commit into from
Oct 24, 2021
Merged

Adding lifecycle configuration #3230

merged 1 commit into from
Oct 24, 2021

Conversation

mpenkov
Copy link
Collaborator

@mpenkov mpenkov commented Sep 11, 2021

You may have noticed that the gensim-wheels S3 bucket is starting to fill up: http://gensim-wheels.s3-website-us-east-1.amazonaws.com/

Here's some bucket config to delete wheels older than 90 days, to prevent cost buildup.

Copy link
Owner

@piskvorky piskvorky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! How does the deployment work, is adding the JSON under continuous_integration enough (some github magic)? Or should I do something, as the S3 bucket owner?

@mpenkov
Copy link
Collaborator Author

mpenkov commented Sep 13, 2021

You don't need to do anything, I already set this policy. The command is in the readme file:

aws --profile smart_open s3api put-bucket-lifecycle-configuration --bucket gensim-wheels --lifecycle-configuration file://continuous_integration/BucketLifecycleConfiguration.json

@mpenkov mpenkov merged commit f3b1942 into develop Oct 24, 2021
@mpenkov mpenkov deleted the bucket-lifecycle branch October 24, 2021 03:24
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