12 Commits

Author SHA1 Message Date
Alex Mayer
2ff8593027
Refactor deploy:cleanup Command (#2788)
* Refactor deploy:cleanup Command

Remove $runOpts since it's not actually used
Move release symlink deletion to beginning of method. This will
allow the release symlink to be deleted even if deleting the old
releases fails.

* Refactor deploy:releases_log

Fixes issue where multiple failed releases in a row cause old
releases to not be cleaned up.

Fixes #2759

Co-authored-by: Anton Medvedev <anton@medv.io>
2022-01-13 14:29:32 +01:00
Anton Medvedev
a2b3da8c32 Add *s 2021-11-08 22:59:39 +01:00
Anton Medvedev
9b01d7955c Fix typo 2021-10-11 22:04:08 +02:00
Anton Medvedev
696893e7e2 Return cleanup_use_sudo 2021-03-15 22:12:13 +01:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
u_mulder
861f1a34bb Add minor fixes for recipes steps (#1945) 2019-10-26 14:30:22 +03:00
klopschlike
218369dd02 Added cleanup_use_sudo option to all commands in deploy:cleanup (#1632)
* Added option cleanup_tty to allow allocation when using sudo

* Added comment for new option cleanup_tty to CHANGELOG

* Added cleanup_use_sudo option to all commands in cleanup.php
2018-08-27 13:33:45 +07:00
klopschlike
c9333cc376 Extend deploy:cleanup with tty allocation when using sudo. (#1607)
* Added option cleanup_tty to allow allocation when using sudo

* Added comment for new option cleanup_tty to CHANGELOG
2018-08-27 13:33:45 +07:00
Anton Medvedev
90d040af1f Fix cleanup task and releases list 2017-05-04 13:00:01 +07:00
Anton Medvedev
d85952e6ea Add cleanup_use_sudo #330 2017-03-26 13:16:12 +07:00
Anton Medvedev
c6dc030b30 Refactor common.php 2016-11-19 15:13:32 +07:00