53 Commits

Author SHA1 Message Date
Anton Medvedev
4bdf95ebda Update docs 2022-09-12 12:29:44 +02:00
hdumazeau
e374a8e2c1
Contrib: generate random crontab tmp path (#3068)
Co-authored-by: Dumazeau <hdumazeau@richcongress.com>
2022-08-28 18:50:55 +02:00
Marcus Jaschen
8c404611e8
fix typo in Rocket.Chat docs (#3234) 2022-07-31 10:36:32 +02:00
Anton Medvedev
4c1a477b91 Refactor ssh client and host connection option
No more checking of running master ssh connection. This is done automatically by ssh.
No more pre-connect to hosts. On first execution of remote command, ssh connection with multiplexing will be established.
2022-03-22 14:55:43 +01:00
Anton Medvedev
2fb0129a98 Fix php-fpm.php recipe 2022-03-17 20:23:12 +01:00
refs
435d07cabf
Don't copy node_modules because it will get deleted (#2919) 2022-03-03 21:46:00 +01:00
refs
d1b2c51ccc
Fix php-fpm recipe: use bin/php and add statement terminator (#2956) 2022-03-03 21:18:00 +01:00
Markus Staab
4d2ddce8ad
Cleanup code (#2974)
* Task: added phpdocs

* Update Task.php

* add callable phpdocs

* remove useless bool-return

* remove useless return

* remove useless return

* run bin/docgen
2022-02-24 17:54:56 +01:00
Anton Medvedev
9a1ecf55d0 Use npm ci 2022-01-13 14:35:12 +01:00
Alexander Schranz
93c6d16e00
Remove not longer existing cleanup task (#2888) 2022-01-10 12:59:21 +01:00
Simon Sprankel
32a63ec9b4
Fix cachetool PHP 7 compatibility, fixes #2836 (#2837)
* Fix cachetool PHP 7 compatibility, fixes #2836
* Update cachetool.php

Create configuration option to change cachetool version

* Update doc

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
Co-authored-by: Fabian Blechschmidt <blechschmidt@fabian-blechschmidt.de>
2021-12-14 14:42:02 +01:00
Alex Mayer
9ce051df59
PHP-FPM: Simplify Version Generation (#2814)
Use systemctl instead of service as it has been the standard on
Ubuntu for a few years now.
2021-12-06 18:04:47 +01:00
Damien Harper
cfb1270dbc
Makes use of git_version_command (if defined) even when update_code_strategy is set to archive (#2793) 2021-12-02 14:46:54 +01:00
Peter Jaap Blaakmeer
599216913c
Add fields support in Slack notification (#2767)
* Add fields support in Slack notification

* Updated Slack docs

* Added setting of slack_fields

* Updated docs for Slack

* Updated docs for Slack
2021-11-30 12:58:07 +01:00
Dominik
5cacd25fd0
Sentry fix for new update_code strategies (#2779) 2021-11-29 12:59:39 +01:00
Anton Medvedev
3e1540440e Remove shallow() task method 2021-11-21 10:57:25 +01:00
Anton Medvedev
a2b3da8c32 Add *s 2021-11-08 22:59:39 +01:00
Anton Medvedev
165574ddd2 Add fetch() func 2021-11-07 10:49:16 +01:00
Anton Medvedev
4ecc4786de Fix docgen 2021-11-06 19:02:51 +01:00
Anton Medvedev
0c7c0b1af6 Rename locateBinaryPath to which 2021-11-05 15:23:34 +01:00
Anton Medvedev
4f97a68448 Move input/output out of context 2021-11-03 15:48:48 +01:00
Anton Medvedev
66f036ece5 Add notice about reloading php-fpm 2021-10-22 23:21:45 +02:00
Anton Medvedev
5cae26d442 Fix slack recipe 2021-09-26 10:41:25 +02:00
bilogic
a7ef491f9c
docs making clear there are 2 different rsync (#2601)
Co-authored-by: bilogic <atlassian@wealthmultiply.com>
2021-09-23 19:11:21 +02:00
John F
1537a766fa
patch-docgen (#2637)
- Fix cloudflare response handling
- Add optional Zone ID variable + update readme
2021-09-23 19:04:57 +02:00
Dominik
d8212f7b2e
add webpack-encore recipe (#2629)
* add webpack-encore recipe

* add changelog

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
2021-08-23 18:26:48 +02:00
Sébastien Hordeaux
fca2eb4324
added error checking on Slack response (#2605) 2021-07-23 15:19:29 +02:00
Tobias Schultze
5800b319c0
Cachetool improvements (#2604)
* Cachetool improvements

- remove outdated cachetool apc command (not apcu) that does not exist since 4.x,
- document web adapter example
- use release_or_current_path to be able to execute tasks outside of deployment

* regenerate doc
2021-07-15 23:19:45 +03:00
Fabian Blechschmidt
f77186eb7b
Fixes #2525 (#2526) 2021-04-27 07:18:37 +02:00
Loris Leiva
b5721b8e83
Add php-fpm as a contrib recipe (#2487)
* Add php-fpm as a contrib recipe

* Update CHANGELOG.md

* Find the PHP-fpm version from the process
2021-04-04 12:59:36 +03:00
Alex Mayer
b4fcfa1f66
Standardize Markdown Code Block Syntax (#2479) 2021-04-03 18:44:40 +03:00
Anton Medvedev
f4e2d6b6d6 Fix shell arguments escaping for rsync 2021-03-14 09:18:27 +01:00
Anton Medvedev
b1f33b1734
Refactor shell arguments escaping (#2458)
Now, it should not matter what default shell is used on a server: zsh, fish. 
Deployer will automatically switch to bash (or to a user-specified shell).

Laso added a release verification task.
2021-03-13 23:50:38 +03:00
Martijn Gastkemper
5301d020b6
Add option to configure Slack channel (#2420)
* Add option to configure Slack channel
2021-02-22 14:14:59 +01:00
hieudt-2054
4f8ebd3494
Adding a Chatwork contrib recipe (#2367)
* Adding a Chatwork contrib recipe
* Add docgen
2021-02-22 14:04:03 +01:00
Anton Medvedev
c3d6cb62d5 Remove unnecessary parts from npm recipe 2020-11-19 23:11:39 +01:00
chriswalg
e463863459
Disabled support of cachetool below version 5. (#2280)
Fixed resolving of cachetool binary.
2020-11-10 00:19:00 +03:00
Martijn Gastkemper
97127d1a2a
Replace run('which xxx') by locateBinaryPath('xxx') (#2276)
`which` isn't POSIX compatible, `command -v` is. `locateBinaryPath` uses
the latter.
2020-11-08 09:29:38 +01:00
Markus Staab
ba7b68b1e6
fixed typo in rabbit recipe (#2260)
* fixed bug in rabbit recipe

* Update CHANGELOG.md
2020-11-02 09:13:02 +01:00
Martijn Gastkemper
ff1a955806
Add docs to crontab.php (#2259) 2020-10-31 20:40:36 +01:00
Martijn Gastkemper
dc3c024706
Let PHPStan analyze recipe and contrib folder (#2258)
* Let PHPStan analyze recipe and contrib folder

* Update docs
2020-10-31 20:39:55 +01:00
Martijn Gastkemper
7d18c46f2b
Add config var parsing support to crontab jobs (#2257) 2020-10-30 23:41:04 +01:00
Martijn Gastkemper
aec6917349
Remove root dependency from crontab empty check (#2256)
Some OS's need root permissions to access /var/spool/cron and this check
doesn't work on Debian and Ubuntu  because the path is
/var/spool/cron/crontab.
2020-10-30 23:39:19 +01:00
Anton Medvedev
5c736c07d4 Refactor recipes 2020-10-29 23:16:36 +01:00
Anton Medvedev
af68f672c6
Refactor ssh arguments (#2234)
* Refactor ssh arguments
* Use special control path for CI env
2020-10-27 00:22:23 +03:00
helsner
f251352fa2
feat!: adapt chat notify favicon to handle custom links (#2203)
* feat!: adapt chat notify favicon to handle custom links

* style: add missing punctuation
2020-10-14 17:33:18 +02:00
Anton Medvedev
040489d587 Update test 2020-10-10 10:50:45 +02:00
Anton Medvedev
c88ebe275f Allow to change current_path 2020-10-09 01:35:42 +02:00
Hardy Johnson
68d9cbd4e1
Cachetool contrib recipe, add stat:clear command. (#2103)
Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-08 03:17:56 +03:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00