ThoughtWorksStudios / eb_deployer

AWS Elastic Beanstalk blue-green deployment automation from ThoughtWorks Mingle Team
MIT License
400 stars 94 forks source link

VersionCleaner is not removing old versions from s3 bucket #16

Closed Yanchek99 closed 10 years ago

Yanchek99 commented 10 years ago

When deploying an application with the keep_latest configuration enabled, new versions are added to the s3 bucket however the VersionCleaner is not cleaning up older versions.

Steps to reproduce.

  1. ensure that the keep_latest configuration is enabled and set to 5 (Note: project_bucket and version_prefix configurations were not set for these deployments)
  2. deploy the application 7 different times
  3. Notice that there are in fact 7 versions stored on s3 when there should only be 5
Yanchek99 commented 10 years ago

More details: Using https://github.com/alienfast/elastic-beanstalk so it is interacting directly with the eb_deployer's API layer

wpc commented 10 years ago

Hi, Yancheck99:

Sorry for the late reply. I have verified version cleaning does work with latest version of ebdeployer. Could you try upgrade the ebdeployer gem to latest and have a try?

-- wpc