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

[RACTF-33] S3 Versioning #30

Open
Bottersnike opened this issue Jun 14, 2020 · 1 comment
Open

[RACTF-33] S3 Versioning #30

Bottersnike opened this issue Jun 14, 2020 · 1 comment

Comments

@Bottersnike
Copy link

Bottersnike commented Jun 14, 2020

When a new version of the static site is deployed, rather than purging S3, the new version of the site should be deployed alongside the old version, but versioned such that old copies can be purged later if needed.

Jira issue: RACTF-33

@thebeanogamer
Copy link
Member

So the simple solution is to just remove -delete from the CI pipeline. This will stop files from being removed when deploys run, but will obviously mean that the bucket contents will keep growing. Provided it never goes beyond 5gb, we're fine though, and we can purge it occasionally.

S3 versioning is a thing, but what that actually means is that you can request an old version of a file, which would never happen in our deployment. That makes more sense for backups/unversioned file names.

@thebeanogamer thebeanogamer changed the title S3 Versioning [RACTF-33] S3 Versioning Jun 14, 2020
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

No branches or pull requests

2 participants