aws / aws-codedeploy-agent

Host Agent for AWS CodeDeploy
https://aws.amazon.com/codedeploy
Apache License 2.0
329 stars 187 forks source link

Version tracking file either does not exist or cannot be read in /data/codedeploy-agent/.version. #41

Closed Poil closed 8 years ago

Poil commented 8 years ago

Hi,

If you change ":root_dir:", version 1.0-1.854 of codedeploy is looking for ".version" in the :root_dir:, but this file stays in /opt/codedeploy-agent/.version

Best regards

suryanarayanan commented 8 years ago

Hi, Thanks for reporting. Version tracking is best effort only. Being said that I do feel like we should fall back to default /opt/codedeploy-agent in case the agent couldn't find the version file under root_dir. Thanks, Surya.

suryanarayanan commented 8 years ago

Fixed in https://github.com/aws/aws-codedeploy-agent/commit/7cc004e5eef19b38434e5773a612b57be1cf43ad#diff-bd9cd66d816ad49fc7a72f3ec9d59cda