{"push_id":1286602799,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"2b6887c498d87ded3ce2665b220c32cde4c62b98","before":"f63d2993cfa375c4c8d08e310b0702aff9c7c97f","commits":[{"sha":"6e51004c45650f48655e05d64bc6592c27a47543","author":{"name":"Mikael","email":"474f98b881b153898ad9bac97c12047e104089a5@gmail.com"},"message":"MongoDB bucket Lifecycles\n\nWhile verifying backups we noticed that the lifecycle policy was not removing what we thought were expired files.\nWe had used the argument noncurrent to specify the files we wanted to apply the lifecycle policy to.\nThis is incorrect because each backup has a unique name due to the timestamp, therefore making each file current.\n\nRemoving the noncurrent prefix will enable the lifecycle policy to target the right files.\n\nApplies to bucket \"govuk-mongodb-backup-s3\"\nSet expiration to 7 days on objects within this bucket.  After 7 days the object changes state from 'current_version' to 'previous_version'.\nOnce object is in 'previous_version' state.  We apply 'noncurrent' version policy which will permanently delete object after 7 days.\n\nApplies to bucket \"govuk-mongodb-backup-s3-daily\"\nModified expiration policy to expire backups after 1 year.\n\nUpdated README to explain expiration concepts for future reference.","distinct":false,"url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/commits/6e51004c45650f48655e05d64bc6592c27a47543"},{"sha":"2b6887c498d87ded3ce2665b220c32cde4c62b98","author":{"name":"Laura Martin","email":"3d75152db3497a62892386edac4969bc0d53fc2e@gmail.com"},"message":"Merge pull request #70 from alphagov/mongodb-bucket-lifecyles\n\nMongoDB bucket Lifecycles","distinct":true,"url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/commits/2b6887c498d87ded3ce2665b220c32cde4c62b98"}]}
{"actor":{"display_login":"surminus"}}