2793 Commits

Author SHA1 Message Date
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
Gennadiy Sevalnev
86742c1f75
Fix host examples (#2961) 2022-02-11 09:11:32 +01:00
CaptainFalcon92
6731de9280
Adding PATCH to Httpie (#2950) 2022-02-11 08:29:23 +01:00
David Palomares
68a983a8ca
Update doc provision as root (#2952)
* Provision: add alternative to using a root user
(docs and warning)

* Update docs
2022-02-09 00:22:46 +01:00
Mariusz Fik
cb6313fb18
zsh completion syntax fix (#2947) 2022-02-06 08:52:19 +01:00
peterjaap
9ba2daa894 [automatic] Update docs with bin/docgen 2022-02-03 08:19:59 +00:00
Peter Jaap Blaakmeer
abfb9bb235
Update magento2.php
Added var/.maintenance.flag as a shared file, closes issue #2940
2022-02-03 09:19:34 +01:00
Anton Medvedev
e3e1dace98 Update docs 2022-01-30 12:08:03 +01:00
Rigel Kent Carbonel
2003ca9b89
[#2912] Fix the dep init in PHP 8.1 (#2925) 2022-01-30 06:34:02 +01:00
Anton Medvedev
15174c8db0
Fix grammar 2022-01-28 00:13:13 +01:00
antonmedv
5760aacb32 [automatic] Update docs with bin/docgen 2022-01-22 11:33:16 +00:00
Joel Pittet
238f16bba2
Update php.php (#2916)
Remove duplicate php-fpm
2022-01-22 12:32:54 +01:00
Joel Pittet
8b5cce1faa
Update getting-started.md (#2915)
Typo fix
2022-01-22 12:32:23 +01:00
Simon Sprankel
0305fc26f0
Fix Magento version detection, fixes #2905 (#2906) 2022-01-17 21:07:32 +01:00
Dr. Ulrich Thomas Gabor
b6d646d8e3
Use -L on chgrp (#2834) 2022-01-17 19:22:12 +01:00
Jeffrey Cafferata
91f459727f
Added the Doctrine mapping files validation (with --skip option) as a (possible) deploy task. (#2901) 2022-01-15 21:20:50 +01:00
Thomas
ca6eb27232
Don't add remote user to setfacl command, if it doesn't exist as an os user (#2822)
* Update writable.php

Only add the the remote user to setfacl command if he exists as an os user.

* Replace is_int() with !empty().

run() usually returns a string, so the static analyzer throws an error, when using is_int() on its return value.

* Use test() instead of run()

Use test() instead of run to check whether the remote user also exists as an os user.
2022-01-15 13:36:13 +01:00
Anton Medvedev
a616c9ecf8
Update writable.php 2022-01-13 21:26:03 +01:00
Anton Medvedev
06be0ce1b0 Set version 7.0.0-master v7.0.0-rc.4 2022-01-13 14:39:08 +01:00
Anton Medvedev
8683327543 Docs style 2022-01-13 14:37:47 +01:00
Anton Medvedev
9a1ecf55d0 Use npm ci 2022-01-13 14:35:12 +01:00
Anton Medvedev
a52ae3da6a Small fixes 2022-01-13 14:30:46 +01:00
Anton Medvedev
a92bec4880 Remove unused use. 2022-01-13 14:30:42 +01:00
antonmedv
d7da44d9b9 [automatic] Update docs with bin/docgen 2022-01-13 13:30:00 +00:00
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
45e4708aad Use StrictHostKeyChecking=accept-new by default
Don't prefix composer with {{bin/php}} if the composer found with which().
2022-01-13 14:17:08 +01:00
Anton Medvedev
fb6f2154ef Use StrictHostKeyChecking=accept-new by default
I deleted code which was doing known_host population manually as it was buggy. The StrictHostKeyChecking=accept-new is exactly what we need.
2022-01-11 19:56:59 +01:00
Anton Medvedev
1b5d18ae7d Move git related options to update_code.php 2022-01-11 19:56:59 +01:00
Anton Medvedev
073929662d composer update 2022-01-11 19:56:59 +01:00
Anton Medvedev
e6a159a767 master 2022-01-11 19:56:59 +01:00
Dr. Ulrich Thomas Gabor
a16723aad4
Check for phar.readonly and output some help (#2877) 2022-01-11 19:08:23 +01:00
Luca Rath-Heel
8c14ae44b7
Cd to deploy_path in release_name callback
* Update release.php

* Run bin/docgen

* Update release.php
2022-01-11 19:07:29 +01:00
Dr. Ulrich Thomas Gabor
43953628cf
Fix for #2850 (#2852): whoami fails on some hosters 2022-01-10 19:49:04 +01:00
Anton Medvedev
9022e76de8 Fix version format 2022-01-10 18:16:18 +01:00
Anton Medvedev
e1546b100f Delete auto-detection of project-local deployer installation 2022-01-10 18:09:42 +01:00
antonmedv
11d344552d [automatic] Update docs with bin/docgen 2022-01-10 11:59:46 +00:00
Alexander Schranz
93c6d16e00
Remove not longer existing cleanup task (#2888) 2022-01-10 12:59:21 +01:00
Jorge M. González Martín
f159c35b8d
use the configured php version (#2886) 2022-01-07 23:01:22 +01:00
Fabian Blechschmidt
cfcb963ead
Fixes #1305 (#2841)
Update installation, remove --shell option which is not longer available

* Fixes #1305
* Update installation.md
Feedback incorporated.
2021-12-17 09:29:18 +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
antonmedv
2d16b6d2a8 [automatic] Update docs with bin/docgen 2021-12-14 09:50:06 +00:00
Dr. Ulrich Thomas Gabor
2a00fbd0be
Removed not existing directory (#2835) 2021-12-14 10:49:43 +01:00
Alex Mayer
d3bda13361
Update CakePHP Migration Task (#2831)
Update migration task to use current best practices
2021-12-13 20:28:23 +01:00
Jérémy DECOOL
17a02456e3
Add PHP 8.1 in the PHP provision recipe (#2830)
* Upgrade PHP 5.x to the latest branch (5.6)

* Add PHP 8.1 to the PHP provision recipe

* Set PHP 8.1 as default PHP provisioned version
2021-12-11 16:02:28 +01:00
Anton Medvedev
d5c95324af
Update avoid-php-fpm-reloading.md 2021-12-07 20:22:01 +01:00
Anton Medvedev
dff66547c8
Update tasks.md 2021-12-07 19:42:26 +01:00
Anton Medvedev
a208879d46 Update docs 2021-12-06 22:55:46 +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
Anton Medvedev
c98f08dc9f Update docs 2021-12-05 20:45:44 +00:00
Anton Medvedev
b2133ecf0f Update docs 2021-12-05 16:45:33 +00:00