Hi, everyone! We use atlassian/aws-elasticbeanstalk-deploy:0.3.1 to deploy our Node.js application.
During bitbucket's pipeline elasticbeanstalk's environment often (but not always) becomes "red" for about a minute, that makes pipeline to fail deployment step and cancel future steps of pipeline.
Is it possible to increase number of attempts for checking environment status or increase time interval between them using atlassian/aws-elasticbeanstalk-deploy?
@Peter Potapov , sure there is a WAIT and WAIT_INTERVAL pipe variables that you can set. WAIT is a boolean flag telling the pipe to wait until the deployment is successful. The WAIT_INTERVAL is a time to wait between the polling attempts. Note, that there is no wait timeout, so the pipe might wait indefinitely if your environment doesn't become healthy and it'll consume your build minutes.
Hi, the problem I am facing is that if I set WAIT to true, there is a moment in time that the environment is RED, and the pipeline fails.
WAIT_INTERVAL reduces the risk since it will be checked less often, but still, there is a risk that it will check and the environment is RED, making it fail.
Do you have a possible workaround for this?
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events