robertstettner / drone-cloudformation

Drone plugin for creating/updating or deleting AWS CloudFormation stacks and validating AWS CloudFormation templates.
MIT License
5 stars 7 forks source link

When more the one drone build of the plugin is running in parallel the plugin waits forever #7

Open omerxx opened 6 years ago

omerxx commented 6 years ago

Hey, awesome plugin to begin with!

When I run two builds for the plugin e.g merging the same change to staging and uat envs, the plugin sometimes runs forever looking for completed events but cannot find them.

I think this waiting processes doesn't belong to the plugin but that's my take. I think an error on plugin build should be relevant to events like template not found / bad stack name etc.. CloudFormation build issues are another field.

Anyway, a timeout of 8-10 minutes would also be great :)

robertstettner commented 6 years ago

Hi Omer, thanks.

Which waiting process do you mean? The ones that exist to wait for CloudFormation to output the progress of the stack, or the ... output to stdout every minute?

JeffDownie commented 5 years ago

I think is the same issue I've been fighting, and I believe the root cause is something along the lines of AWS throttling the event requests.

https://github.com/robertstettner/drone-cloudformation/pull/8 Improves the symptoms, but doesn't completely solve the root issue.