51 Commits

Author SHA1 Message Date
Anton Medvedev
8042e85f83 Remove extra docs from docs 2021-09-26 15:43:51 +02:00
Anton Medvedev
3216576680 Add docs 2021-09-26 15:25:58 +02:00
Anton Medvedev
8b2e55f3fe Remove docs/api.md, docs/recipe, docs/contrib 2021-09-24 14:42:32 +02:00
Anton Medvedev
b724073157 Fix code style 2021-09-24 10:58:53 +02:00
Anton Medvedev
14879da60b Update setup.php 2021-09-24 10:49:16 +02:00
Anton Medvedev
9ae2b96c23 Fix code style 2021-09-24 10:46:32 +02:00
Anton Medvedev
1bf79a4fd4 Regenerate docs 2021-09-24 00:18:49 +02:00
Dominik
6173fe0904
Create Recipe for Pimcore (#2611)
* Create Recipe for Pimcore

* Update pimcore.php

* add pimcore-docs

* update pimcore recipe to include new tasks into deploy automatically

* update pimcore recipe to include new tasks into deploy automatically
2021-09-23 19:06:25 +02:00
Anton Medvedev
d14c65c5dd Update release/rollback logic 2021-09-23 02:09:55 +02:00
Anton Medvedev
8c7ddf09c2 Use json instead of csv for releases metainfo 2021-09-20 00:32:34 +02:00
Anton Medvedev
363f7ed6a1 Improve docgen 2021-08-31 23:25:22 +02:00
Anton Medvedev
6c446aa42e Link to line numbers instead of search terms 2021-08-31 23:19:40 +02:00
Anton Medvedev
4820d3aa03 Improve docgen 2021-08-31 23:13:11 +02:00
Anton Medvedev
463d95de78 Improve docgen 2021-08-31 20:15:06 +02:00
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
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
Anton Medvedev
817a6b3cd8 Remove dump-env 2021-04-21 00:39:41 +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
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
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
696893e7e2 Return cleanup_use_sudo 2021-03-15 22:12:13 +01:00
Anton Medvedev
a200c1f9b0
Refactor deploy:update_code (#2461) 2021-03-15 01:35:06 +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
Anton Medvedev
2a12046528 Remove composer_version option 2020-12-18 20:13:28 +01: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
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
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
Anton Medvedev
2405241f2d Add timeout exceptions 2020-11-05 19:43:04 +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
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
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
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