aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/restart.yml
Commit message (Collapse)AuthorAgeFilesLines
* deploy: try to restart the app when the CLI asks to do itPaul Bonaud2020-08-061-1/+8
| | | | | | | | | | | | | | | In some cases (rollback or deployment errored on clever side), clever-tools will fail when calling `clever deploy` because it thinks the currently being deployed commit is already deployed. However in some cases the git pushed commit is not the currently running commit. Leading to a failure in our deployment process. The proposed solution from the clever tools error is to launch `clever restart`. Until we wait for https://github.com/CleverCloud/clever-tools/issues/422 to be fixed, let's do what the error message say: try to restart in case of a deployment failure.
* feature: add a new 'clever_restart_only' flag to restart an appPaul Bonaud2020-06-231-0/+22
This new flag will perform a restart on the target clever cloud application instead of deploying it.