56 Commits

Author SHA1 Message Date
Joda Stößer
79ab3b66a8
docs(recipe/magento2): fix typo in conccurent (#3830) 2024-05-17 14:33:40 +02:00
antonmedv
04c5926860 [automatic] Update docs with bin/docgen 2024-04-24 20:10:45 +00:00
akosglue
22e95ba3f5
magento2 theme processing fix for 3786 (#3818)
* fix typo in magento recipe

* process the correct theme names and add -f switch here as well

* run docgen

* commit the other changed doc files after running bin/docgen

* Revert "commit the other changed doc files after running bin/docgen"

This reverts commit e0d1c2b7ca23ecec2390fc4f83f9e1a96094e1d3.
2024-04-24 22:10:28 +02:00
peterjaap
dce9f78553 [automatic] Update docs with bin/docgen 2024-04-19 09:21:19 +00:00
Danny Verkade - Cream
8e8f496ce5
Magento 2: Changed upgrading database (#3812)
* Changed step to upgrade the DB only instead of Magento and execute it once if multiple servers are selected for the deployment

* Bugfix: Added once() to task instead of run commando. Regenerated docs.

* Improvement: Changed documentation to reflect that the database step is only executed once.
2024-04-19 11:21:00 +02:00
antonmedv
c859acec70 [automatic] Update docs with bin/docgen 2024-04-18 15:25:17 +00:00
Giacomo Moscardini
f3703cf698
Add another check for setup:upgrade (#3658)
* Add another check for setup:upgrade

* Update documentation

* Revert "Update documentation"

This reverts commit 120bf5e7a2cb3b52dcb1119648e53da144a07dc2.

* Update documentation
2024-04-03 15:58:34 +02:00
gbobts
cca12a1e7e
Add feature to stop cron before deployment and start cron after (#3797)
* Add feature to stop cron before deployment and start cron after

* Updated doc
2024-03-29 19:45:17 +01:00
Schrank
ff69fd27e7 [automatic] Update docs with bin/docgen 2024-02-15 17:24:22 +00:00
Joda Stößer
3964520986
docs(recipe/magento2): fix typo in conccurent (#3779)
* docs(recipe/magento2): fix typo in conccurent

* Fix typo

---------

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
2024-02-15 18:24:01 +01:00
antonmedv
b8da0f0b27 [automatic] Update docs with bin/docgen 2023-10-27 12:32:05 +00:00
antonmedv
6166a6cb6f [automatic] Update docs with bin/docgen 2023-09-20 07:33:05 +00: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
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
Tom Scott-Malden
7fa09a2299
Magento 2: Cache key id prefix (#3453) 2023-03-30 17:34:07 +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
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
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
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
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
Anton Medvedev
e80876d90d Update docs 2022-07-26 09:18:44 +02:00
Anton Medvedev
86c7ed6260 Update docs 2022-07-26 00:19:14 +02:00
Anton Medvedev
a12fdb6530 Update docs 2022-07-26 00:12:23 +02:00
peterjaap
aec3b51ecb [automatic] Update docs with bin/docgen 2022-03-28 12:57:33 +00:00
Tom Scott-Malden
8a41b3f030
DD#0000: feat: Added configurable themes to Magento2 (#3047)
* DD#0000: feat: Added configurable themes to Magento2

* DD#0000: feat: Added concurrent jobs to static:content:deploy
2022-03-22 15:10: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
peterjaap
9ba2daa894 [automatic] Update docs with bin/docgen 2022-02-03 08:19:59 +00:00
Anton Medvedev
a2b3da8c32 Add *s 2021-11-08 22:59:39 +01:00
Peter Jaap Blaakmeer
a4801b6090
Make Magento 2 recipe suitable for push strategy deployments (#2734)
* Make Magento 2 recipe suitable for push strategy deployments

* updated Magento 2 recipe docs

* Disable task by using disabled()

* Removed push strategy settings, moved build commands to its own group

* Updated docs
2021-11-07 22:50:16 +01:00
Anton Medvedev
4ecc4786de Fix docgen 2021-11-06 19:02:51 +01:00
Anton Medvedev
7f39d1fd04 Move configs around and update docs 2021-10-18 18:29:14 +02:00
Anton Medvedev
3216576680 Add docs 2021-09-26 15:25:58 +02:00
Anton Medvedev
8b2e55f3fe Remove docs/api.md, docs/recipe, docs/contrib 2021-09-24 14:42:32 +02:00
Anton Medvedev
363f7ed6a1 Improve docgen 2021-08-31 23:25:22 +02:00
Anton Medvedev
6c446aa42e Link to line numbers instead of search terms 2021-08-31 23:19:40 +02:00
Anton Medvedev
4820d3aa03 Improve docgen 2021-08-31 23:13:11 +02:00
Anton Medvedev
463d95de78 Improve docgen 2021-08-31 20:15:06 +02:00
Simon Sprankel
cfc3ecbde4
Fix formatting (#2443)
* Fix formatting

* Fix formatting
2021-03-05 11:51:18 +01:00
Anton Medvedev
9296a5acc8
Sync content_version for magento assets between hosts. (#2293)
* Sync content_version for magento assets between hosts.

* Update docs
2020-12-08 00:02:08 +01:00
Anton Medvedev
d88469065f Add quotes to search term 2020-11-16 10:56:42 +01:00