File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ inputs:
3333 codedeploy_group :
3434 description : ' AWS CodeDeploy Application Group'
3535 required : true
36+ max_polling_iterations :
37+ description : ' Max amount of iterations (15s increments) to wait for a deployment'
38+ required : false
39+ default : ' 60'
3640runs :
3741 using : ' docker'
3842 image : ' Dockerfile'
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function pollForActiveDeployments() {
5757 while [ " $( getActiveDeployments) " != " []" ]; do
5858 echo -e " $ORANGE Deployment in progress. Sleeping 15 seconds. (Try $(( ++ deadlockCounter)) )" ;
5959
60- if [ " $deadlockCounter " -gt " $MAX_POLLING_ITERATIONS " ]; then
60+ if [ " $deadlockCounter " -gt " $INPUT_MAX_POLLING_ITERATIONS " ]; then
6161 echo -e " $RED Max polling iterations reached (max_polling_iterations)."
6262 exit 1;
6363 fi
You can’t perform that action at this time.
0 commit comments