762 Commits

Author SHA1 Message Date
Anton Medvedev
59c87c5885 wip 2020-07-11 01:24:18 +03:00
Anton Medvedev
121915fbe2 wip 2020-07-10 00:36:02 +03:00
Anton Medvedev
7c96116df0 wip 2020-07-08 22:12:12 +03:00
Anton Medvedev
b2ec87ce4d wip 2020-07-07 22:18:14 +03:00
Anton Medvedev
ef2c5ba6c5 wip 2020-07-07 22:16:31 +03:00
Bernhard Prange
eb93392377
Process corrected (#2109)
Corrections made for smoother workflow. Tutorial on how to work with this receipe comming soon!
2020-06-24 21:16:26 +03:00
Bernhard Prange
0d6f45475a
Shopware6 installation routine (#2072)
Due to the lack of ANY shopware6 installation routine, here's my little beginning of it. If you think it can be made better, I am very happy to have your ideas on board of this.
2020-05-29 14:52:24 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
Pierre Grimaud
70cdf1e2bf
Fix typos (#2032) 2020-04-24 15:53:23 +03:00
M. Vugteveen
c948ea3e99
Added support for composer v2 installed.json format + composer.phar fix (#2031)
* fix composer v2 installed.json parsing

* add changelog

* only use bin/php on phar file

* update chagnelog

* Update dep
2020-04-24 15:53:08 +03:00
MoogyG
944f9bd582
Update update_code.php (#1958) 2020-04-20 23:56:31 +03:00
Benedict Zinke
467695bcb9
Fix comment in common recipe (#2022)
As stated in https://github.com/deployphp/deployer/issues/869 the copy_dirs task works relative to release_path rather then deploy_path as indicated by the comment in recipe/common.php
2020-04-20 23:53:24 +03:00
Brad Morrical
58a7d51295
Added recipe for Joomla! (#2024)
* Added recipe for Joomla!

* updating Changelog
2020-04-20 23:53:10 +03:00
David Naber
a20582eb95
Filter output upon stage argument only when defined for host fixes #1909 (#2021) 2020-04-07 18:41:42 +03:00
Beno!t POLASZEK
a8dabf03ee
Keep consistency with deployer executable naming (#2011) 2020-03-06 12:49:07 +03:00
Ralf Baussenwein
613e631544
fix backward compatibility of bin/console for symfony4 recipe (#2005)
* fix backward compatibility of bin/console for symfony4 recipe

* update Changelog
2020-02-19 15:25:38 +03:00
Jono Menz
c0bf1d7913
Fix check_remote task revision resolution (#1995)
* Support branch & tag if specified
* Support shortened commit hashes
* Skip on first deployment
* Get true current ref from git

Fixes #1994
2020-02-01 22:15:53 +03:00
Vladimir Pak
377adf977a
Speedup deploy:clear_paths (#1992)
* Update clear_paths.php

one run much faster than several

* Update CHANGELOG.md
2020-01-30 12:08:11 +03:00
Jono Menz
b7a728b7b3
Fixes for check_remote task and SS recipe (#1991)
* Fix check_remote task

* Check remote head contents locally
* Ensure .dep/HEAD file is available so error isn’t thrown
* Document task usage

Fixes #1990

* Fix Silverstripe recipe

* Additionally check shared directory for assets since this directory is commonly excluded from project git repos
* Ensure shared_assets returns a non-null value so the release folder can’t get accidentally deleted

Fixes #1989

* Update CHANGELOG.md

* Clarified contribution instructions

* Update issue templates

Added a bug report template
2020-01-29 11:13:11 +03:00
u_mulder
861f1a34bb Add minor fixes for recipes steps (#1945) 2019-10-26 14:30:22 +03:00
Kartik Patel
d3a6ea7353 updated for SS4. Checks to see if assets is in root or public/assets as per SS4 new directory structure (#1943) 2019-10-21 08:58:24 +03:00
u_mulder
96c130a13b Update README.md (#1932) 2019-10-08 09:52:11 +03:00
Tomasz Gąsior
f82128686e Update symfony4 recipe (#1923)
Fix wrong change introduced in 62db938884

`.env` file should not be shared because it's release-specific. On the other hand, `.env.local` and `.env.local.php` files are specific to deployment environment and should be shared between releases.

See for details: https://github.com/deployphp/deployer/pull/1907#issuecomment-533779139
2019-09-22 15:06:47 +03:00
Nicolás González
62db938884 Update symfony4.php (#1907)
The .env and .env.<environment> files should be committed to the shared repository because they are the same for all developers and machines. However, the env files ending in .local (.env.local and .env.<environment>.local) should not be committed because only you will use them. In fact, the .gitignore file that comes with Symfony prevents them from being committed.

https://symfony.com/doc/current/configuration.html#managing-multiple-env-files
2019-08-16 13:58:53 +03:00
Anton Medvedev
85aae9fd68 Add deploy:check_remote task 2019-08-12 21:01:32 +03:00
Kyle Tucker
6180366acf Update config:hosts and config:current task recipes (#1901)
* Update config:hosts and config:current task recipes

* Update changelog

* Fix variable refs
2019-08-09 22:16:00 +03:00
Anton Medvedev
4190e28fcb
Revert "Handle asterisk wildcard in shared files (#1895)" (#1897)
This reverts commit 6dd0a2c1f7eda33f9b5dbde287ffeda889e025de.
2019-08-08 11:26:20 +03:00
Vytautas Koryzna
6dd0a2c1f7 Handle asterisk wildcard in shared files (#1895) 2019-08-07 11:02:08 +03:00
Wim Griffioen
a6ff2eb4c6 Add tasks to cache a manifest of event listeners (#1893)
* Add tasks to cache a manifest of event listeners

Laravel supports automatic discovery of events and listeners since
version 5.8.9. (https://laravel.com/docs/5.8/events#event-discovery)
As the documentation states, you want to cache the manifest of event
listeners in a production environment to prevent scanning the
directories on every request.

The new tasks are not added to the deploy task because automatic event
discovery is opt-in functionality in Laravel.

* Update CHANGELOG.md
2019-08-06 21:55:32 +03:00
Ahmad Mayahi
bb4d41c896 Add check_remote_head option to avoid unnecessary new releases by che… (#1759)
* Add check_remote_head option to avoid unnecessary new releases by checking the remote git HEAD without cloning the repo.

* Add check_remote_head into the CHANGELOG

* Add the pull request link to CHANGELOG

* Update CHANGELOG.md

Removed extra spaces: https://github.com/deployphp/deployer/pull/1759

* Fix changelog. Improve check_remote_head

* Use GrasefulSutdown exception instead of exit(0).

* Change bash if statement in check_remote_head.

* Remove redundant code.

* Replace if statement with test.
2019-08-06 21:52:41 +03:00
Matthew Muscat
9dcd4eeab1 Update Laravel View Cache commands (#1889)
* Update artisan cache commands

- Re-add `artisan:view:clear` command 
- Modify the existing `artisan:view:cache` command to remove the call to clear the cache, as this is already completed by the Laravel Framework

* Updated changelog with laravel view cache changes

* Update CHANGELOG.md

Update newline spacing to fix scrutinizer failure
2019-07-30 10:39:03 +03:00
Benjamin Porquet
d16d5df504 Update symfony4.php (#1881)
On SF 4.2+, the .env file is versionned, only the .env.local is not versionned anymore
2019-07-10 18:05:10 +03:00
Antoine Kociuba
727d7ee7f1 [HOTFIX] - magento2 recipe - Properly handle 'generated' and not 'generation' directory for >= 2.2.x Magento versions (#1879) 2019-07-06 00:27:27 +03:00
Andrey Helldar
2ef394e125 Fixed bug "Can't detect http user name." (#1876)
* Fixed bug "Can't detect http user name."

See:
* https://github.com/deployphp/deployer/issues/1778#issuecomment-507228046
* #1805

* Update writable.php
2019-07-01 15:37:15 +03:00
Alex Plekhanov
0fc524ee58 Laravel view cache task (#1860)
* Substituted laravel view:clear command with view:cache command

* Added version check to view:cache task

* Updated Changelog
2019-06-11 13:16:23 +03:00
Kostadin A
82a00248fb Prevent dir creation when it is existing (#1858)
If "shared" directory is already existing just do not call mkdir, to prevent pointless update during processing of the "shared" files.
2019-06-07 06:17:16 +03:00
Rafael Corrêa Gomes
681eedcdcb Recipe Magento 2 > Change the shared folders (#1848)
* Recipe Magento 2 > Change the shared folders

* Update magento2.php
2019-05-26 14:30:18 +07:00
Jānis Gruzis
10ba0fae78 Avoid zombie processes in http user resolution. (#1805)
* Avoid zombie processes in http user resolution.

* Changelog improved.
2019-05-16 14:51:00 +07:00
Andréas Lundgren
ef55283b4f Add artisan:optimize:clear to Laravel recipe (#1837)
* Add artisan:optimize:clear for Laravel recipe

* Update artisan:optimize to run on newer versions of Laravel
2019-05-06 20:08:45 +08:00
Sander de Jonge
eec02040d2 Support default wordpress implementation (#1834)
* Default Wordpress doesn't use composer

* updated changelog
2019-04-24 23:03:11 +07:00
Ján Regeš
c37f5998fc Added writable_recursive option (default: true) used in all writable modes (chmod, chown, chgrp, acl) (#1823)
* Added `writable_recursive` option (default: true) used in all writable modes (chmod, chown, chgrp, acl) (#1822)

* Update CHANGELOG.md
2019-03-31 20:11:54 +07:00
Filippo Tessarotto
ec0e8c4fdc Git: add option to disable --dissociate flag on cloning (#1820) 2019-03-28 20:26:42 +07:00
Andrey Helldar
434dfd8a02 Do not show package suggestions (#1812) 2019-02-19 20:50:11 +07:00
Jon Uhlmann
f84dc4dfaf Add lock/unlock to deploy task (#1810)
* Add lock/unlock to deploy task

* Add changelog entry
2019-02-15 13:28:58 +07:00
Pablo Escobar
8c3bcc3c8c issues 1788 (#1790)
Fix http_user detection
2019-01-11 18:54:52 +07:00
Marko Kruljac
ab290fb04f http_user detection command could return wrong user (#1779)
* Add test before http_user detection

Script will no attempt to longer detect http_user if there are more than 1 possible candidates.

* Update CHANGELOG.md

Updated for issue #1778

* Update CHANGELOG.md

Added missing link to issue

* Change detection strategy from bash test to php

This reduces the number of ssh calls to the remote host.
2019-01-02 19:44:33 +07:00
Dmitri Yourchev
6cc8b14a07 Fix laravel set version (#1729)
* Fix Laravel recipe laravel_version failure

Change directory before {{bin/php}} artisan --version.

* Add change log
2018-12-18 00:37:52 +07:00
Alexander Schranz
63ab978ad1 Added recipe for sulu 1.x and improve sulu 2.x recipe (#1764)
* added recipe for sulu 1.x

* improve sulu 2 recipe
2018-11-14 13:44:04 +07:00
Alexander Schranz
f2bdcef135 added recipe for sulu 2 (#1758) 2018-11-08 08:39:53 +07:00
Jérémy DECOOL
a4ab269df0 Added migrations_config option to the Symfony recipes (#1739)
* Add option to define migration file configuration to Symfony recipe

* Add option to define migration file configuration to Symfony4 recipe

* Update CHANGELOG
2018-10-13 21:02:35 +07:00