JetBrains / teamcity-google-agent

TeamCity support for Google cloud build agents
Apache License 2.0
17 stars 9 forks source link

TW-85831 Detecting failed instances #57

Closed iaroslav-molochkov closed 8 months ago

iaroslav-molochkov commented 8 months ago

Additional detection of failed instances: google api returns an operation that more often than not will be "in progress", but eventually it might err with resource_exhaustion or similar errors. This commit introduces checks for such a case and times out an image allowing other images to jump in and launch instances