278 Commits

Author SHA1 Message Date
Anton Medvedev
b14ab5efb7 Update installation instructions 2022-03-18 23:49:29 +01:00
Anton Medvedev
5b39ae9e12 Remove autocomplete command in flavor of completion command 2022-03-18 23:33:41 +01:00
Van0SS
472e73b9ee
Fix typo 2022-03-18 08:11:31 +01:00
Anton Medvedev
2fb0129a98 Fix php-fpm.php recipe 2022-03-17 20:23:12 +01:00
Anton Medvedev
208bf652fe Fix sub_directory update code strategy 2022-03-17 20:07:19 +01:00
antonmedv
946e9c50d8 [automatic] Update docs with bin/docgen 2022-03-13 20:08:19 +00:00
Mathieu I
9fbb270d99
Fix phpcs update (#3032)
* Bump slevomat/coding-standard from 6.4.1 to 7.0.19

Bumps [slevomat/coding-standard](https://github.com/slevomat/coding-standard) from 6.4.1 to 7.0.19.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](https://github.com/slevomat/coding-standard/compare/6.4.1...7.0.19)

---
updated-dependencies:
- dependency-name: slevomat/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* style: fix all errors reported by phpcs

* style: remove typehints incompatible with php 7

* chore: update phpcs config

* chore: add missing docblocks

* style: remove useless ignore statements

* fix: remove extra mixed typehints

* fix: update api.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Imbert <mathieu.imbert@tracktik.com>
2022-03-13 00:28:16 +01:00
antonmedv
24ba755592 [automatic] Update docs with bin/docgen 2022-03-12 16:42:27 +00:00
Peter Jaap Blaakmeer
12f0c41405
Remove absolute file paths from theme-config using the deploy_path (#2801)
* Remove absolute file paths from theme-config using the deploy_path

* Updated docs

* Update regex

* Fix regex

* Update shopware.php

Updated regex to allow release names with alphanumeric characters

Co-authored-by: Anton Medvedev <anton@medv.io>
2022-03-12 17:42:08 +01:00
Sergei Sergeev
6351797093
Site-enabled folder for Caddy configs (#2949)
* Site-enabled folder for Caddy configs

* Caddyfile from project path

* Remove debug code

* always reload caddy

* fix a doc
2022-03-12 17:41:26 +01:00
Anton Medvedev
7b22d35f78 Remove config.md 2022-03-12 17:14:16 +01:00
refs
435d07cabf
Don't copy node_modules because it will get deleted (#2919) 2022-03-03 21:46:00 +01:00
Richard Henkenjohann
7732d7ecb4
Contao recipe (#2851)
* Add Contao recipe

* Fix command argument

* Enable maintenance mode in both the current and release build

* Add the contao:manager:lock task

* Use correct public path in shared_dirs

* Make sure that the directory exists
2022-03-03 21:44:27 +01:00
antonmedv
8a54355fea [automatic] Update docs with bin/docgen 2022-03-03 20:39:51 +00:00
antonmedv
37f79878a9 [automatic] Update docs with bin/docgen 2022-03-03 20:35:54 +00:00
matsn0w
baece5a6e3
Add an option to deploy only a sub-folder of the repository (#2821)
* add new sub_directory option

* update docs

* Update docs/recipe/deploy/update_code.md

Co-authored-by: Mario Ramundo <ramundomario@gmail.com>

Co-authored-by: Mario Ramundo <ramundomario@gmail.com>
Co-authored-by: Anton Medvedev <anton@medv.io>
2022-03-03 21:35:25 +01:00
Laura Folco
5550911cf6
Magento2: allow non-zero-downtime deployment (#2941)
* Magento2: allow non-zero-downtime deployment; add `.maintenance.flag` to shared files

* ran docgen
2022-03-03 21:21:08 +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
Gennadiy Sevalnev
86742c1f75
Fix host examples (#2961) 2022-02-11 09:11:32 +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
peterjaap
9ba2daa894 [automatic] Update docs with bin/docgen 2022-02-03 08:19:59 +00:00
Anton Medvedev
e3e1dace98 Update docs 2022-01-30 12:08:03 +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
8b5cce1faa
Update getting-started.md (#2915)
Typo fix
2022-01-22 12:32:23 +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
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
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
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
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
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
Alex Mayer
d3bda13361
Update CakePHP Migration Task (#2831)
Update migration task to use current best practices
2021-12-13 20:28:23 +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
Anton Medvedev
65a4b42cab Update docs 2021-12-05 11:37:06 +00:00
Anton Medvedev
c25d5e7318 Update docs 2021-12-05 10:14:28 +00:00
Fran Moreno
814fdad070
Add a note about multiple host with different release number (#2808) 2021-12-02 14:46:01 +01:00