nytimes / drone-gae

Drone plugin for managing deployments and services on Google App Engine (GAE)
https://open.nytimes.com/continuous-deployment-to-google-cloud-platform-with-drone-7078fe0c2eaf
Apache License 2.0
97 stars 26 forks source link

Failure to stop older versions of services #21

Open tonglil opened 7 years ago

tonglil commented 7 years ago

In several GAE flex deployments, passing the additional flag --stop-previous-version has failed to turn off/scale down previous versions to 0.

This can result in developers being charged for idle instances in the project.

This error does not happen every time, maybe around 1 in 5-10 times.

This may be related to:

Perhaps the SDK should be updated?

Example

Stops:

stop

Does not stop:

nostop

Result: pasted image at 2017_11_09 05_33 pm

booi commented 6 years ago

We still see this behavior, were you able to find a reliable workaround?