762 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
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
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
Dr. Ulrich Thomas Gabor
d34b80f3f2
Shopware: Added deploy:update_code (#3816)
Added an exemplary `deploy:update_code` task.
2024-04-18 17:24:58 +02:00
Martín Gómez
99d18ead5e
Update nodejs to LTS version (#3815) 2024-04-18 10:59:53 +02:00
Dr. Ulrich Thomas Gabor
059fa07941
Shopware has switched to .env.local (#3810)
Shopware has switched to `.env.local` for modifications, whereas the `.env` provides sane defaults.
2024-04-16 11:18:11 +02:00
Mohammed Elhaouari
cc9c35e3fc
Update Laravel recipe add pulse tasks (#3809)
* Add laravel pulse tasks

* Add docs
2024-04-15 09:07:13 +02: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
Propaganistas
ef0087d988
Add release name to deploy:info (#3783)
* add release name to info

* failsafe for initial deployment
2024-02-26 14:30:43 +01:00
Alexander Nickel
51e8e82c07
refactor(shopware): Optimize getPlugins to use json output (#3780)
Refactoring the `getPlugins` function to not parse regular commandline
output anymore, instead use the --json flag `plugin:list`.
Refactoring 'sw:plugin:update:all' to not upgrade every installed
plugin, but every installed plugin that in fact is upgradable.
2024-02-16 12:51:35 +01:00
Fritz Michael Gschwantner
fc9a2f13ad
Escape shell arguments correctly (#3603)
* escape shell argument depending on target operating system

* only escape unix style

* add some basic tests

* use json_encode in test

* correctly escape single quotes on the Linux command line
2024-02-11 23:01:51 +01:00
Martijn Cuppens
f92cb4bbea
Increase upload_max_filesize to 128M (#3770) 2024-01-25 00:06:29 +01:00
Martijn Cuppens
857b8a4357
Move Caddy file in to separate file (#3765) 2024-01-12 12:21:36 +01:00
Martijn Cuppens
a5bc3d8db5
Create parent folders if needed (#3764)
See https://man7.org/linux/man-pages/man1/mkdir.1.html
2024-01-11 13:32:51 +01:00
Martijn Cuppens
1c4f208938
Switch to owner change instead of shh user change (#3763)
Fixes https://github.com/deployphp/deployer/issues/3542
2024-01-11 11:41:42 +01:00
Martijn Cuppens
b053223bd4
Don't show warning if become parameter is set to root (#3761) 2024-01-09 19:28:25 +01: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
Dr. Ulrich Thomas Gabor
7f905c2155
Improve recipe 2023-10-24 17:06:56 +02: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
Itay Raz
37eef8489b
use {{bin/magento}} to build static content (#3651) 2023-07-25 17:25:59 +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
Simon R Jones
ae6531211c
Add .env to shared, remove unecessary writable config (#3620) 2023-06-16 12:01:02 +02:00
Alex
981d5f6fe2
Update php.php to 8.2 (#3619) 2023-06-14 15:00:13 +02: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
xavgru12
87f196ebcd
changes for using latest shopware flex template (#3586) 2023-04-29 12:47:42 +02: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
Massimiliano Arione
3dd66bda82
add log_files to Symfony recipe (#3572) 2023-04-10 11:27:30 +02:00
guvra
4a40c60afb
Fix artifact file generation when "from_repo" option is enabled (#3560) 2023-04-05 11:15:42 +02: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
Peter Jaap Blaakmeer
bb5fd1c1b9
Compile all themes when magento_themes is not set (#3550)
* Compile all themes when magento_themes is not set

* Add space at else structure
2023-03-27 23:06:59 +02: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
Marcus Müller
7f99c7e2c6
Shopware recipe: Do not warm up cache when clearing the cache (#3532) 2023-03-07 23:22:45 +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
Anton Medvedev
2ac3b89d97 Fix branch deploy for clone strategy 2023-03-01 21:12:14 +01:00
Dr. Ulrich Thomas Gabor
fa2ce9ac0f
Shopware Flex has no build.sh anymore (#3513)
The new [Shopware template](https://developer.shopware.com/docs/guides/installation/template) does not have a `bin/build.sh` file anymore. The missing executable executed `composer install` and `bin/build-js.sh`. Since requiring the new Symfony flex recipe requires running `composer` manually, we just execute `bin/build-js.sh` now.

This could be a breaking change for some users. Don't know if you want to state that somewhere or allow a way to restore the old behavior via flag (although one can just override the `sw-build-without-db:build` task anytime).
2023-02-25 17:29:04 +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
akosglue
6190cbead3
fix typo in magento recipe (#3498) 2023-02-22 09:03:59 +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
Dominik Schilling
1fb2d6f3cd
Simplify loop in releases_list (#3471)
* Avoid calling count() in loop
* Remove extra variable for release name
* Reverse the array before for clarity
2023-01-30 21:19:57 +01:00