Skip to content

feat(kube): autorollback failed deployments on review branches

Marco Wettstein requested to merge auto-rollback into main

if last deployment failed, catladder will now try to automatically rollback or even uninstall the helm release. This is done only on review-branch as it can lead to data loss.

this problem typically happens if there are post-install jobs (like migrations or seed) that take some time to complete and when another commit has pushed in the meantime, leading to another deploy job while the previous one is still running.

running rollback or helm uninstall should also stop any running job

Edited by Marco Wettstein

Merge request reports