2140 Commits

Author SHA1 Message Date
Loris Leiva
b5721b8e83
Add php-fpm as a contrib recipe (#2487)
* Add php-fpm as a contrib recipe

* Update CHANGELOG.md

* Find the PHP-fpm version from the process
2021-04-04 12:59:36 +03:00
Alex Mayer
b4fcfa1f66
Standardize Markdown Code Block Syntax (#2479) 2021-04-03 18:44:40 +03:00
Anton Medvedev
d857021b47 Clarify version question 2021-04-03 14:23:48 +02:00
Anton Medvedev
2ecf179e48 Back to master 2021-04-03 12:20:51 +00:00
Anton Medvedev
337162edb1 Release 7.0.0-beta.17 v7.0.0-beta.17 2021-04-03 12:20:51 +00:00
Anton Medvedev
b6b8eacef5 Force runLocally to be executed via host's shell option 2021-04-03 14:16:23 +02:00
Loris Leiva
7627f9ba43
Add and use new release_or_current_path (#2486)
* Add release_or_current_path option

* Use new path in platform-specific recipes

* Update CHANGELOG.md
2021-04-03 15:05:45 +03:00
Alex Mayer
34dade5420
Remove Unused use Statements (#2476)
Ensure single empty line above and below use block
2021-03-27 10:28:25 +01:00
Anton Medvedev
550049346d Update docs 2021-03-16 22:53:11 +01:00
Anton Medvedev
d791a3b237 Fix e2e test 2021-03-16 22:35:49 +01:00
Anton Medvedev
e7a27dff7e Refactor push task 2021-03-16 22:08:27 +01:00
Anton Medvedev
b0fbb8f239 Allow to upload multiple files at once 2021-03-16 22:08:27 +01:00
Anton Medvedev
61e5bfbe35 Back to master 2021-03-15 21:22:42 +00:00
Anton Medvedev
9baa622585 Release 7.0.0-beta.16 v7.0.0-beta.16 2021-03-15 21:22:42 +00:00
Anton Medvedev
1f0fc2d383
Try set conn hash length to 17 (#2464) 2021-03-16 00:21:29 +03:00
Anton Medvedev
696893e7e2 Return cleanup_use_sudo 2021-03-15 22:12:13 +01:00
Anton Medvedev
b8947cf0c2 Expand ~ in config_file 2021-03-15 22:02:55 +01:00
Anton Medvedev
1efd80261d Make fetch public 2021-03-15 21:56:57 +01:00
Anton Medvedev
c8c5c48624 Better process fro master connect 2021-03-15 21:54:33 +01:00
Anton Medvedev
19ce13a49b Fix revision saving on macos 2021-03-15 21:53:46 +01:00
Anton Medvedev
4e114f457e Fix typo 2021-03-15 21:53:28 +01:00
Anton Medvedev
4cb2f67067 Fix host level configuration for callback 2021-03-15 21:53:14 +01:00
Anton Medvedev
6b8cf3aae7 Better run command 2021-03-15 21:52:09 +01:00
Anton Medvedev
29c9663f49 Back to master 2021-03-14 22:40:24 +00:00
Anton Medvedev
ae9f284387 Release 7.0.0-beta.15 v7.0.0-beta.15 2021-03-14 22:40:24 +00:00
Anton Medvedev
a200c1f9b0
Refactor deploy:update_code (#2461) 2021-03-15 01:35:06 +03:00
Anton Medvedev
18a877741d Update UPGRADE.md 2021-03-14 09:20:01 +01:00
Anton Medvedev
f4e2d6b6d6 Fix shell arguments escaping for rsync 2021-03-14 09:18:27 +01:00
Anton Medvedev
eccb74d31e Update CHANGELOG.md 2021-03-14 08:52:16 +01:00
Anton Medvedev
2205921bae Revert rename 2021-03-14 08:44:14 +01:00
Anton Medvedev
f4c5c76e51 Simplify ssh command construction 2021-03-14 01:44:45 +01:00
Anton Medvedev
610be8c0ba Back to master 2021-03-13 21:26:57 +00:00
Anton Medvedev
9c6204f3c3 Release 7.0.0-beta.14 v7.0.0-beta.14 2021-03-13 21:26:57 +00:00
Anton Medvedev
7976ba1069 Add check before overriding deploy.php on init 2021-03-13 22:22:07 +01:00
Anton Medvedev
d75e792cc4 Check if current_path exist in run command 2021-03-13 22:18:19 +01:00
Anton Medvedev
d864e72988 Allow to run tasks on localhost if no host is defined 2021-03-13 22:14:36 +01:00
Anton Medvedev
458d7b621f Rename fail() to onfail() 2021-03-13 22:03:49 +01:00
Anton Medvedev
b1f33b1734
Refactor shell arguments escaping (#2458)
Now, it should not matter what default shell is used on a server: zsh, fish. 
Deployer will automatically switch to bash (or to a user-specified shell).

Laso added a release verification task.
2021-03-13 23:50:38 +03:00
Anton Medvedev
1851e1812a Make exception task filename to be empty string by default 2021-03-13 09:52:45 +01:00
Anton Medvedev
93853465c6
Fix local tasks (#2457) 2021-03-13 11:50:45 +03:00
Anton Medvedev
387b4c1d51
Update composer dependencies (#2453)
As well rename test dir to tests, as Pest does not support dir without s on the end.
Also, remove PHP requirement from composer.json as we already have check-in bin/dep and it's better to have the check only in one place (now they already out of sync).
2021-03-12 13:56:16 +03:00
Fabian Blechschmidt
5d0893fa84
Normalize shopware recipe and add common.php (#2422)
* Normalize shopware recipe and add common.php
2021-03-08 13:53:51 +01:00
ThaDaVos
4ac6e131cc
Fix for issue #2407 - Laravel migrations are only run on the first host due there being a ->once on the task (#2408)
Fix for issue #2407 - Laravel migrations are only run on the first host due there being a `->once` on the task
2021-03-07 12:12:44 +01:00
Gabriel Ostrolucký
f9141c0cf7
Fix execution of group tasks via invoke() (#2446) 2021-03-07 09:20:20 +01:00
Jeffrey Cafferata
fa45c3276f
Boolean options should not go through the self::escape function. (#2402)
* Boolean options should not go through the `self::escape` function.

> Deployer\Support\Stringify::escape(): Argument #1 ($token) must be of type string, bool given

Fixes #2392.

* Update StringifyTest.php

* Update StringifyTest.php

Co-authored-by: Anton Medvedev <anton@medv.io>
2021-03-06 17:01:51 +01:00
Gabriel Ostrolucký
1669ffb11d
Make selector accept array values (#2444) 2021-03-05 20:47:40 +01:00
Dennis Smink
27c7b6182c
Check (shared) file exists (#2393)
* Check (shared) file exists
* Update CHANGELOG.md
2021-03-05 12:51:00 +01:00
Simon Sprankel
cfc3ecbde4
Fix formatting (#2443)
* Fix formatting

* Fix formatting
2021-03-05 11:51:18 +01:00
Peter Jaap Blaakmeer
d7d5a01674
Remove config/jwt from writable dirs list (#2430)
config/jwt should have chmod 600, not 755
2021-02-23 17:11:08 +01:00
Fabian Blechschmidt
f5c9a92b1d
Feature/2423 shopware order modules (#2425)
* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

- add dependency for polyfill (to use str_ends_with)
- marcj/topsort (for sorting the shopware modules)

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

- get the plugin list
- read the composer names and dependencies from composer.lock
- order by dependencies
- use sorted list for activation and migration

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

Update changelog

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

do not update doc, but remove require autoload.php
2021-02-23 08:50:46 +01:00