264 Commits

Author SHA1 Message Date
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
Philipp Z
33cd103f46
Fix temporary workaround in Shopware recipe (#2755)
* Remove temporary workaround in Shopware recipe

The workaround is no longer needed, since it was fixed in Shopware 6.4.6.0 (NEXT-17720)

* Reverted removal of temporary workaround

Kept workaround for Shopware installations <6.4.6.0 and added comment for information on fixed version

* Fail silently for shopware < 6.4.6 on different absolute paths in theme config

* Updated docs for shopware recipe

Co-authored-by: Philipp Zabel <pza@hair-shop.com>
2021-11-30 18:32:42 +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
Anton Medvedev
3b0d7537a5
Update avoid-php-fpm-reloading.md 2021-11-30 05:28:12 +01:00
Anton Medvedev
593d85935a Fix avoid-php-fpm-reloading.md 2021-11-30 00:10:54 +01:00
Anton Medvedev
61b6507eb0 Fix sidebar.js 2021-11-30 00:09:27 +01:00
Anton Medvedev
de7b5e972c Add avoid-php-fpm-reloading.md 2021-11-30 00:04:41 +01:00
Alex Mayer
24e0a91ac7
Laravel: Add Route Cache to Deploy Tasks (#2789)
Caching Routes has been recommended since the early 5.x days to
improve performace or production apps.
https://laravel.com/docs/8.x/deployment#optimizing-route-loading

Reorder optimization commands to same order as Laravel docs.
2021-11-29 09:27:21 +01:00
Mario Ramundo
82fbbf816b
Fix docs formatting 2021-11-25 23:01:17 +01:00
Mario Ramundo
4aa3028ae9
[Docs] GitLab CI/CD (#2777)
* [Docs] GitLab CI/CD

* [Docs] GitLab CI/CD - Prevent deployment concurrency

* [Docs] GitLab CI/CD - Deploy secrets

* [Docs] GitLab CI/CD - Deploy code with `rsync`

* [Docs] GitLab CI/CD - Fix typo
2021-11-25 22:33:20 +01:00
antonmedv
d7e8e147ad [automatic] Update docs with bin/docgen 2021-11-22 21:51:48 +00:00
Alex Mayer
287fd56ecc
Clean Up Documentation Formatting and Wording (#2776) 2021-11-22 09:23:57 +01:00
Mario Ramundo
634341f89c
Add provision of mariadb (#2775) 2021-11-21 20:41:30 +01:00
Mario Ramundo
9b35a870cc
Add missing provisioning of databases in provision recipe (#2768)
* Add missing provisioning of databases in provision recipe

In addition, increase timeout of `mysql-server` install

* Updated docs
2021-11-21 11:52:32 +01:00
antonmedv
9c0ca30fd0 [automatic] Update docs with bin/docgen 2021-11-21 10:21:03 +00:00