149 Commits

Author SHA1 Message Date
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
Daniel Iwaniec
c1af01195a
Update regarding deploy:update_code (#2137) 2020-08-18 13:25:19 +03:00
Thomas
5e27256966
sort api reference headings (#2135)
* fixes MD012/no-multiple-blanks

fixes MD012/no-multiple-blanks: Multiple consecutive blank lines [Expected: 1; Actual: 2]

* fixes MD001/heading-increment

fixes MD001/heading-increment/header-increment: Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]

* sort headings alphabetically
2020-08-15 00:11:49 +03:00
Sergey Asafov
155e4b3095
Ispmanager recipe (#2093)
* Release candidate

* Add logs

* Release candidate

Co-authored-by: Evilcoder <i@evilcoder.me>
2020-06-24 21:49:22 +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
Alex
ae6f9690a4
Add default_timeout to configuration example (#2018) 2020-04-02 18:27:51 +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
Chris Brown
b70f420bc9 Update how-to-deploy-laravel.md (#1961) 2019-11-27 23:28:35 +03:00
Eric Mueller
c791fb4f3c added missing lines to get latest releases (#1935) 2019-10-10 13:29:21 +03:00
u_mulder
0ded2ea71a Update how-to-deploy-laravel.md (#1934) 2019-10-08 19:20:44 +03:00
u_mulder
553a88eeae Update flow.md (#1931)
Descriptions of all commands use `s` suffix - `prints`, `cleans` etc.
2019-10-07 16:55:53 +03:00
Eric Mueller
de552458fd Sample real-world deployment script (#1929)
* Sample real-world deployment script

This is a simple Deployer script.

* Update CHANGELOG.md

* moved info about new doc page to "added" section

* After running `php bin/changelog fix`
2019-10-06 14:34:00 +03:00
Eric Mueller
d7e44667d5 Minor tweak to docs to clarify deploy_stage variable (#1930)
* Clarified default_stage, made example 'staging'

Addresses issue #1866

Clarified that you need to set a default_stage in your Deployer script, and also changed the example to 'staging' since that is a better example default to have (instead of production).

* Update CHANGELOG.md

* Fixed formatting on issue number
2019-10-06 14:33:45 +03:00
Kellan Martin
490bd3ca2d Grammatical and Spelling Changes (#1888) 2019-07-24 00:34:12 +03:00
Anton Medvedev
8472bd940d Add docs 2019-07-02 08:05:21 +03:00