65 Commits

Author SHA1 Message Date
Anton Medvedev
18a877741d Update UPGRADE.md 2021-03-14 09:20:01 +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
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
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
Simon Sprankel
cfc3ecbde4
Fix formatting (#2443)
* Fix formatting

* Fix formatting
2021-03-05 11:51:18 +01:00
Martijn Gastkemper
5301d020b6
Add option to configure Slack channel (#2420)
* Add option to configure Slack channel
2021-02-22 14:14:59 +01:00
hieudt-2054
4f8ebd3494
Adding a Chatwork contrib recipe (#2367)
* Adding a Chatwork contrib recipe
* Add docgen
2021-02-22 14:04:03 +01:00
Anton Medvedev
2a12046528 Remove composer_version option 2020-12-18 20:13:28 +01:00
Anton Medvedev
b3e0e03d99
Add named arguments to run and runLocally (#2353)
* Add named arguments to run and runLocally

* Update docs
2020-12-18 19:40:09 +03:00
Anton Medvedev
7283848cc6 Remove provision 2020-12-18 17:19:19 +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
b4d3d27a7d
Update UPGRADE.md 2020-12-02 16:30:34 +03:00
Anton Medvedev
c3d6cb62d5 Remove unnecessary parts from npm recipe 2020-11-19 23:11:39 +01:00
Anton Medvedev
d88469065f Add quotes to search term 2020-11-16 10:56:42 +01:00
Anton Medvedev
51162b8733 Make source links in docs more robust 2020-11-16 00:00:20 +01:00
Anton Medvedev
e6b491b4ad Fix phpstan error 2020-11-15 23:52:48 +01:00
Anton Medvedev
14ac29b9be
Update UPGRADE.md 2020-11-14 12:01:27 +01:00
Anton Medvedev
bd3f582336 Update UPGRADE.md docs 2020-11-13 21:23:03 +01:00
Anton Medvedev
c7542ec048 Update doc 2020-11-11 10:10:57 +01:00
Unai Lopez
d9340bd7f6
Magento 2 Zero downtime deployment (#2262)
* Magento2: look for database migrations in order to get zero downtime deployments when changes are not needed
- also keep maintenance status active in case it was already previously activated

* Magento2: adjust shared dirs

* Magento2: dump autoload before setup di compile
- fix for magento 2.4 deployments https://github.com/magento/magento2/issues/23251

* Magento2: force static content deploy
- avoids deployment failure when magento production mode is not set

* Magento2: update change log

* Magento2: update recipe docs

* Revert "Magento2: force static content deploy"

This reverts commit 45de3337a5a3e524685c422be3fbc6957fe6b480.

* Magento2: detect configuration changes, launch config import

* Magento2: refactor recipe
- make all tasks compatible with any magento 2 version (skip command execution if still does not exist in certain version)
- remove duplicated check on maintenance status
- remove catch for processFailedException

Co-authored-by: Unai Lopez <unai.lopez@vdshop.es>
Co-authored-by: Peter Jaap Blaakmeer <peterjaap@blaakmeer.com>
2020-11-11 01:36:38 +03:00
chriswalg
e463863459
Disabled support of cachetool below version 5. (#2280)
Fixed resolving of cachetool binary.
2020-11-10 00:19:00 +03:00
Anton Medvedev
2405241f2d Add timeout exceptions 2020-11-05 19:43:04 +01:00
Anton Medvedev
e47d8460f5 Update docs 2020-11-04 19:24:05 +01:00
Markus Staab
4040e1dd71
added @throws for run/runLocally and friends (#2264)
* added @throws for run/runLocally

* added `@throws` declarations

* generate docs
2020-11-03 20:28:24 +03:00
Markus Staab
55177c5b18
Fix fail() signature (#2261)
* added phpstan callable types

* Update src/Task/Task.php

* regenerated docs

* Update CHANGELOG.md

* update phpstan

* Restore Collection.php

* Restore Master.php

* Restore helpers.php

* Restore Task.php

* Update functions.php

* Update functions.php

* Update CHANGELOG.md

* regenerate docs
2020-11-02 12:13:57 +01:00
Martijn Gastkemper
ff1a955806
Add docs to crontab.php (#2259) 2020-10-31 20:40:36 +01:00
Martijn Gastkemper
dc3c024706
Let PHPStan analyze recipe and contrib folder (#2258)
* Let PHPStan analyze recipe and contrib folder

* Update docs
2020-10-31 20:39:55 +01:00
Markus Staab
22e2e07f7a
fix bin/docgen on windows (#2254)
* fix bin/docgen on windows

* Update CHANGELOG.md

* fix ApiGen to handle windows newlines

* fix DocRecipe to handle windows newlines

* regenerate docs
2020-10-30 23:41:45 +01:00
Anton Medvedev
5c736c07d4 Refactor recipes 2020-10-29 23:16:36 +01:00
Anton Medvedev
c747a5945b Rename git_target to target 2020-10-28 00:12:18 +01:00
Sacharski Bartłomiej
9d725ede63
Implemented E2E tests for provision recipe (#2228)
Created new container using Ubuntu 20.04 as a base, for a E2E test
environment for the provision recipe.

Due to container sharing a kernel with host os, the firewall provisioning
had to be turn off during the testing procedure.
2020-10-27 00:22:53 +03:00
Anton Medvedev
af68f672c6
Refactor ssh arguments (#2234)
* Refactor ssh arguments
* Use special control path for CI env
2020-10-27 00:22:23 +03:00
Anton Medvedev
ff110c987d
Refactor recipes (#2224) 2020-10-25 18:00:05 +03:00
Anton Medvedev
2feb5c1247 Update docs 2020-10-25 14:20:03 +01:00
Anton Medvedev
10c8b0de8f Better dep init command 2020-10-16 22:54:20 +02:00
Anton Medvedev
daee77bf1f Update docs 2020-10-11 16:35:59 +02:00
Anton Medvedev
5bc321f129 Update docs 2020-10-11 16:24:03 +02:00
Anton Medvedev
91c1d5fbec Docs updates 2020-10-11 01:52:36 +02:00
Anton Medvedev
6bd45d9223 Update docs 2020-10-09 23:21:03 +02:00
Anton Medvedev
74234d2348 Update docs 2020-10-09 00:15:36 +02:00
Anton Medvedev
a1103bee17 Migrate to common prepare/publish tasks 2020-10-08 01:53:45 +02:00
Anton Medvedev
71afcdcc3a Store composer.phar in .dep 2020-10-08 01:19:39 +02:00
Anton Medvedev
58b47b7484 Update docs 2020-10-08 01:06:10 +02:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00
Anton Medvedev
6a32894218 Add comment on auto generated doc file 2020-09-30 15:35:44 +02:00
Anton Medvedev
3735d07794 Fix markdown gen 2020-09-30 09:29:02 +02:00
Anton Medvedev
c7cb9575fe Add api doc generation 2020-09-30 09:25:41 +02:00
cavasinf
8a8e41d68a
Update params avalaible in hosts.yml (#2162)
Add `branch` param after issue #1946 FIXED
2020-09-14 13:31:15 +03:00