briandilley / ebs-deploy

Python based command line tools for managing Amazon Elastic Beanstalk applications.
MIT License
82 stars 29 forks source link

Configurable wait time for green status #28

Closed morganiq closed 6 years ago

morganiq commented 8 years ago

Summary

Adds a configurable number of allowable Red samples (MAX_RED_SAMPLES, default of 20) before deciding the deployment has failed.

Background

It's desirable to fail if a deploy is Red. However, a deploy will sometimes go Red for some time before it ultimately goes Green. Without a grace period, as this PR introduces, deployment often yields false negatives.

Other changes