189 Commits

Author SHA1 Message Date
antonmedv
bbd9d8abf5 [automatic] Update docs with bin/docgen 2024-01-03 07:36:35 +00:00
Maxim Smakouz
248af34480
Adding Spiral Framework recipe (#3582)
* Add Spiral framework recipe

* Add docs
2024-01-03 08:36:18 +01:00
ameotoko
507f54c26f
Fix version variables in Contao recipe (#3735)
* Fix version variables in Contao recipe

* update docs
2023-11-27 07:14:34 +01:00
Anton Medvedev
5c62c45799
Revert "[TASK] Update TYPO3 recipe (#3674)" (#3723)
This reverts commit 73f2b531d71075f8523829ce0bbeeac4fb7e10fa.
2023-11-07 11:25:41 +01:00
antonmedv
b8da0f0b27 [automatic] Update docs with bin/docgen 2023-10-27 12:32:05 +00:00
antonmedv
6611816c89 [automatic] Update docs with bin/docgen 2023-10-24 15:07:21 +00:00
Dr. Ulrich Thomas Gabor
7f905c2155
Improve recipe 2023-10-24 17:06:56 +02:00
antonmedv
6166a6cb6f [automatic] Update docs with bin/docgen 2023-09-20 07:33:05 +00:00
ochorocho
73f2b531d7
[TASK] Update TYPO3 recipe (#3674)
* [TASK] Update TYPO3 recipe

* Update recipe for TYPO3 v12
* Allow tasks to be added before or after a task in a given task group
* Allow to hide spinner to enable interactive tasks on be run on the remote server

Fixes #3667

* [TASK] Update docs

* [TASK] Remove deploy:vendors from recipe

We aim for minimal requirements on the target server.
Thus, all preparation should be done in CI.

* [TASK] Update comment
2023-09-13 13:35:34 +02:00
Marcus Müller
35ba29427f
Shopware: Register new themes and scheduled tasks during deploy (#3681) 2023-09-07 23:12:26 +02:00
Tom Scott-Malden
4dc20ce742
DD#0000: feat: Move var-exporter into main requirements (#3662)
* DD#0000: feat: Move var-exporter into main requirements

* DD#0000: feat: Removed var-export

* DD#0000: feat: Updated docs
2023-08-04 16:36:47 +02:00
Tom Scott-Malden
48193c6cfc
DD#0000: feat: Magento2: Add support for preload keys (#3567)
* DD#0000: feat: Magento2: Add support for preload keys

- Also updated to remove the config set and instead manually add the hocks to your deployer file
- And move var-exporter into the main composer require
- https://github.com/deployphp/deployer/pull/3453#issuecomment-1497248859

* DD#0000: feat: Reverted composer updates

* DD#0000: feat: Updated docs

* DD#0000: feat: Updated replace to use preg to make sure it only checks beginning of string
Updated readme use better grammer

* DD#0000: feat: Updated md docs
2023-07-04 10:57:38 +02:00
antonmedv
80dcf8d5ec [automatic] Update docs with bin/docgen 2023-06-16 10:01:27 +00:00
antonmedv
c5d1d839b5 [automatic] Update docs with bin/docgen 2023-06-14 13:00:42 +00:00
Philipp Bammes
8d23bac440
Fix typo in rollback.php (#3617)
* Fix typo in `rollback.php`

* Fix typos in `rollback.php`

* `php bin/docgen`
2023-06-12 09:27:24 +02:00
Sam James
ed28cb1cba
Fix/m2 artifact success (#3601)
* Call deploy:success at the end of Magento 2 Artifact Finish

* Regenerated Docs
2023-05-18 14:09:22 +02:00
antonmedv
840b2071cb [automatic] Update docs with bin/docgen 2023-04-29 10:48:06 +00:00
Ferenc Papp
68deaa7aaf
Added migrate task to Yii recipe (#3563)
* Added migrate task to Yii recipe

Resolves #3559

* Changed path and PHP executable to be more generic

* Added doc entry.

* Added --interactive=0 flag so that migrations will run automatically.
2023-04-12 13:52:58 +02:00
antonmedv
188668d8b6 [automatic] Update docs with bin/docgen 2023-04-10 09:27:51 +00:00
Tom Scott-Malden
7fa09a2299
Magento 2: Cache key id prefix (#3453) 2023-03-30 17:34:07 +02:00
Pavel Bychko
f3bafec466
Add Laravel Nova task to recipe/laravel (#3548)
* Add Laravel Nova task to recipe/laravel

* Update docs
2023-03-27 23:08:34 +02:00
antonmedv
bf94c50885 [automatic] Update docs with bin/docgen 2023-03-27 21:07:22 +00:00
Julian
78dd230379
Split asset compilation (#3326) 2023-03-24 11:45:54 +01:00
Marcus Müller
daba4ea9df
Shopware: Add new task for refreshing themes (#3530) 2023-03-07 23:23:14 +01:00
Fabian Schmengler /
f9b5c1e52b
Magento 2: Only set maintenance mode once if needed (#3469)
* Only set maintenance mode once if needed

Also:
- by adding magento:maintenance:enable-if-needed to the task list instead of invoking it directly, it is now possible to use after() to add custom tasks to be performed in maintenance mode
- the maintenance_mode_status_active check was removed because it is unnecessary and can return wrong results because of caching

* Update docs
2023-03-06 19:41:41 +01:00
Wilfried Wolf
b565fdcc58
Adds Comments to magento2 recipe and modifies DocGen, to be able to explain artifact deployment (#3510)
* adds sticky to writable recipe

chgrp for all files, chmod g+rwxs for directories, chmod g+rw for files

* adds artifact deployment for magento2 recipe

* Updates Documentation

* removes mode that has been submitted in other MR

* adds divers discussion results from PR #3317

- uses contrib/cachetool
- removes task build:prepare-env
- comments additional_shared_files and additonal_shared_dirs
- avoids invoke()

* updates docs

* corrects additional shared

* expands DocGen for artifact deployment and adds documentation to the magento2 recipe

* corrects missing capital and typo

---------

Co-authored-by: Anton Medvedev <anton@medv.io>
2023-03-06 12:49:42 +01:00
HereticPilgrim
e6a3364fc0
Added missing deploy task to recipe/common (#3526)
Co-authored-by: HereticPilgrim <manuel.grauwiler@transformatik.ch>
2023-03-02 19:05:13 +01:00
Daniel Hormess
aeec635a2d
Fixed bin/console calls in shopware recipe (#3512)
* Fixed bin/console calls in shopware recipe

* Added generated docs

---------

Co-authored-by: Daniel Hormess <daniel@proudcommerce.com>
2023-02-24 18:22:55 +01:00
Jan Henk Hazelaar
3953996a30
Add remote option to update_code_strategy to rename remote to repository (#3466)
* Add 'remote' option to 'update_code_strategy'

* Using archive and then add remote to speedup deployment

* Optimize remote option and add documentation

* Optimize code

* Update docs

* Combine clone and remote to remove duplicate code

* Removed  option and merge functionality into  option

* Generate docs

* Generate docs
2023-02-10 23:51:27 +01:00
Fabian Schmengler /
762a177ce1
Magento: allow subdirectory and create variable for bin/magento (#3460)
* Magento: create variable for bin/magento

so it can be overridden to a custom location

* Update docs

* Allow Magento to be installed in a subdirectory

* Update docs

* Use Magento subdirectory for composer command

* Fix bin/magento call in magento_version function

* Update docs

* Update docs

* Combine magento_dir and bin/magento configurations correctly
2023-02-09 14:17:39 +01:00
Fabian Schmengler /
8a94172fd5
Magento: Fix artifact_path generation (#3459)
* Magento: Fix artifact_path generation

- Fix 1. Add -p parameter to mkdir command
   {{artifact_path}} could be configured with multiple folders such as build/artifacts
- Fix 2. run() -> runLocally()
   The {{artifact_dir}} is used to keep artifacts archive file.
   It should be called at CI server only and not at target server.
   Then the task `artifact:upload` uploads this file at target server host under {{release_path}}.
   It is not needed to have {{artifact_dir}} at target server.

* Update docs
2023-01-30 21:15:09 +01:00
guvra
30c66cee47
Add an option to build magento artifact from the repository (#3456) 2023-01-30 21:14:51 +01:00
antonmedv
61378a3828 [automatic] Update docs with bin/docgen 2023-01-08 20:46:33 +00:00
Wilfried Wolf
2078514738
Feature/magento2 artifact deployment (#3317)
* adds sticky to writable recipe

chgrp for all files, chmod g+rwxs for directories, chmod g+rw for files

* adds artifact deployment for magento2 recipe

* Updates Documentation

* removes mode that has been submitted in other MR

* adds divers discussion results from PR #3317

- uses contrib/cachetool
- removes task build:prepare-env
- comments additional_shared_files and additonal_shared_dirs
- avoids invoke()

* updates docs

* corrects additional shared

Co-authored-by: Anton Medvedev <anton@medv.io>
2023-01-08 21:46:15 +01:00
Torben Höhn
492cd97945
add pub/static/_cache as shared_dir (#3343) 2023-01-08 21:35:48 +01:00
antonmedv
cc7d41bb55 [automatic] Update docs with bin/docgen 2023-01-07 22:43:38 +00:00
antonmedv
1da73c2836 [automatic] Update docs with bin/docgen 2022-12-15 15:59:48 +00:00
Julián Garcés Rodríguez
bc708bec86
Added the laravel default folder storage/framework/cache to writable folders array (#3302)
* added storage/framework/cache/data as writable folder

* regenerate docs
2022-10-27 09:36:02 +02:00
antonmedv
de509b115e [automatic] Update docs with bin/docgen 2022-10-04 19:26:14 +00:00
peterjaap
f39ae1a29a [automatic] Update docs with bin/docgen 2022-09-30 11:28:39 +00:00
Wilfried Wolf
6d759ef372
Feature/additional writable modes (#3316)
* adds sticky and skip mode

Sticky means, that the command-line-user and the http-user are different but share the same group. This mode add a sticky bit to directories and adds writeable for group to all files.
Skip just skips this in case the interactiv user and the http user are equal

* adds comments to file

* updates documentation
2022-09-22 22:45:48 +02:00
Anton Medvedev
6113e5e4f5 Improve docs 2022-09-12 12:53:42 +02:00
Anton Medvedev
4bdf95ebda Update docs 2022-09-12 12:29:44 +02:00
Anton Medvedev
1c897e587d New recipes docs intro 2022-09-12 11:40:11 +02:00
antonmedv
260ac590e1 [automatic] Update docs with bin/docgen 2022-09-10 07:35:16 +00:00
antonmedv
88cb11a909 [automatic] Update docs with bin/docgen 2022-09-10 07:18:47 +00:00
antonmedv
77723519c4 [automatic] Update docs with bin/docgen 2022-09-10 07:10:34 +00:00
Michał Giza
6981405647
Magento2: add var/page_cache as writable_dirs (#3202)
* var/page_cache as writable_dirs

It will fix following Zend exception after successful deployment:
Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/path/to/www/releases/7/var/page_cache" is not writable in /path/to/www/releases/7/vendor/magento/zendframework1/library/Zend/Cache.php:209
This exception does not occur on every environment, it depends on PHP pool user/group (default www-data or owner of project directory).

* docgen
2022-08-28 18:49:05 +02:00
Rigel Kent Carbonel
f51f0e3c03
Add octane tasks in laravel recipe (#3076)
* Add octane tasks in laravel recipe

* Update docs
2022-08-28 18:47:35 +02:00
Anton Medvedev
e80876d90d Update docs 2022-07-26 09:18:44 +02:00