Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Make atlassian/aws-elasticbeanstalk-deploy to wait additional time if environment is red

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?

 

 

2 answers

0 votes

@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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

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 ...

2,570 views 1 9
Read article

Community Events

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

Events near you