142 Commits

Author SHA1 Message Date
Jonas Siewertsen
14f20257be
Add statamic recipe (#2627)
* Add a statamic recipe
* Update CHANGELOG.md
* Add doc recipe for Statamic
2021-08-20 11:10:46 +02:00
Alexander Schranz
03f5e0a31a
Add example for deploy script after upgrade (#2608) 2021-07-23 14:49:04 +02:00
Fabian Blechschmidt
b6dcf93e14
Add missing doc update 2021-07-23 14:48:05 +02:00
Tobias Schultze
239b817540
Fix symfony cache:clear running twice on deployment (#2602)
* Fix symfony cache:clear running twice on deployment

Any standard symfony app is running cache:clear on composer install ever since.
I.e. in composer.json

```
"scripts": {
    "auto-scripts": {
      "cache:clear": "symfony-cmd",
      "assets:install %PUBLIC_DIR%": "symfony-cmd"
    },
    "post-install-cmd": [
      "@auto-scripts"
    ],
    "post-update-cmd": [
      "@auto-scripts"
    ]
  },
```

This prevents cache clearing being run twice for no reason.

* regenerate doc
2021-07-15 23:20:44 +03:00
Tobias Schultze
5800b319c0
Cachetool improvements (#2604)
* Cachetool improvements

- remove outdated cachetool apc command (not apcu) that does not exist since 4.x,
- document web adapter example
- use release_or_current_path to be able to execute tasks outside of deployment

* regenerate doc
2021-07-15 23:19:45 +03:00
Anton Medvedev
2d9a9dcfaa
Remove vars (#2596) 2021-07-01 23:17:23 +03:00
Fabian Blechschmidt
f77186eb7b
Fixes #2525 (#2526) 2021-04-27 07:18:37 +02:00
Anton Medvedev
817a6b3cd8 Remove dump-env 2021-04-21 00:39:41 +02:00
Anton Medvedev
05b82ece80 Update getting-started.md 2021-04-18 22:01:23 +02:00
Anton Medvedev
488cb64c55 Update getting-started.md 2021-04-18 21:57:06 +02:00
Anton Medvedev
3f49bf4c4e Update getting-started.md 2021-04-18 18:54:32 +02:00
Anton Medvedev
9800f052ea Update getting-started.md 2021-04-18 15:35:47 +02:00
Anton Medvedev
8f649331a5 Fix comment 2021-04-18 13:53:15 +02:00
Anton Medvedev
c23688adcf Add default symfony_env 2021-04-17 15:41:12 +02:00
Anton Medvedev
fb72c94804 Fix docgen bug 2021-04-16 12:04:06 +02:00
Rick Schippers
b212b83e67
Bugfix shopware recipe plugin updates (#2414)
* removed incorrect duplicate version column

Output is as follows so:

$plugin,$label,$version,$upgrade,$author,$installed,$active,$upgradeable,

Shopware Plugin Service
=======================

 ------------------- --------------------------------------------------------- --------- ----------------- --------------------------- ----------- -------- -------------
  Plugin              Label                                                     Version   Upgrade version   Author                      Installed   Active   Upgradeable
 ------------------- --------------------------------------------------------- --------- ----------------- --------------------------- ----------- -------- -------------
  BuckarooPayments    Buckaroo Payment                                          1.1.1                       Buckaroo                    Yes         Yes      No
  DevTools            Additional tools to support your Shopware 6 development   0.2.0                       Maurits Meester             Yes         Yes      No

* Invoke sw:plugin:refresh inside sw:plugin:activate:all instead of incorrectly redefining it

* Upgrade all plugins that are upgradeable

* Changelog update

* Ran docgen

* Do NOT make upgrading all default

* Update doc

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
Co-authored-by: Fabian Blechschmidt <blechschmidt@fabian-blechschmidt.de>
2021-04-13 15:31:51 +02:00
Anton Medvedev
895762dc38 Move comment to api 2021-04-12 22:17:23 +02:00
Anton Medvedev
aa871c6b13 Update installation.md 2021-04-09 22:49:52 +02:00
Loris Leiva
4b1a5f7c57
Add artisan tasks that generate keys (#2490)
Co-Authored-By: Kundan <198781+kundancool@users.noreply.github.com>

Co-authored-by: Kundan <198781+kundancool@users.noreply.github.com>
Co-authored-by: Anton Medvedev <anton@medv.io>
2021-04-04 21:11:38 +02:00
Loris Leiva
56477d1b41
Tidy artisan commands (#2488)
* Remove deploy:public_disk task

Redundant since this can be achieved with the `artisan:storage:link` task since 5.3.

5.2 support was dropped in June 2016 so it is safe to stop supporting it ourselves.

* Remove publish artisan commands

These commands are made to generate some code that should then be committed and pushed. These should never be needed directly in production.

* Add and rename artisan tasks

* Refactor artisan command registration

* Revert "Refactor artisan command registration"

Doesn't work nicely with docgen 😭

* Update laravel.md
2021-04-04 20:12:39 +03:00
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
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
Anton Medvedev
550049346d Update docs 2021-03-16 22:53:11 +01:00
Anton Medvedev
696893e7e2 Return cleanup_use_sudo 2021-03-15 22:12:13 +01:00
Anton Medvedev
6b8cf3aae7 Better run command 2021-03-15 21:52:09 +01: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
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