Skip to content

deployment: time out stuck deployment after 1h

David Caro requested to merge time_out_deployments into main

Currently, if a deployment gets stuck (ex. the components-api is restarted, and the deployment task disappears) the deployment will be kept in 'running' forever.

This adds a cleanup when creating or updating deployments that will check if any of the deployments are stuck, and time them out. Similar to how we cleanup old deployments.

This adds a new deployment state.

Signed-off-by: David Caro dcaro@wikimedia.org

Merge request reports

Loading