578 Commits

Author SHA1 Message Date
Anton Medvedev
7de69d68d0 Swap if&else with sudo 2021-10-08 12:43:15 +02:00
Anton Medvedev
1fa138efff Update writable.php 2021-10-08 12:39:12 +02:00
Anton Medvedev
dbcc982616 Add timestamp function 2021-10-08 09:54:21 +02:00
Anton Medvedev
8ebcbea5b6
Back to acl 2021-09-28 08:16:07 +02:00
Anton Medvedev
8380f85105
Update writable.php 2021-09-28 08:01:51 +02:00
Anton Medvedev
fa3e654f6b Add provision recipe 2021-09-26 15:23:49 +02:00
Anton Medvedev
d4a4fdcbdc Fix e2e 2021-09-24 16:37:47 +02:00
Anton Medvedev
6b73b44a2f Fix e2e 2021-09-24 16:34:10 +02:00
Anton Medvedev
70271ba682 Fixes 2021-09-24 16:30:29 +02:00
Anton Medvedev
69d06d60d4 Fix writable.php 2021-09-24 16:26:45 +02:00
Anton Medvedev
d2c4521b7a Add update_code_strategy 2021-09-24 16:16:15 +02:00
Anton Medvedev
ce427a244c Use chgrp as default mode in deploy:writable 2021-09-24 15:55:17 +02:00
Anton Medvedev
46170352d4 Fix typo 2021-09-24 15:43:01 +02:00
Anton Medvedev
743e951082 Fix phpstan issue 2021-09-24 15:41:55 +02:00
Anton Medvedev
85bf0d1c92 Improve deploy:writable task
Also, new default mode is chown.
2021-09-24 15:39:25 +02:00
Anton Medvedev
6773798369 Add a release_revision option 2021-09-24 15:19:58 +02:00
Anton Medvedev
84aeb11f8c Fix typo 2021-09-24 15:19:15 +02:00
Anton Medvedev
fef85caf5f Improve shared.php 2021-09-24 15:15:00 +02:00
Anton Medvedev
38fb8a753d Improve update_code.php ssh-keygen 2021-09-24 15:08:42 +02:00
Anton Medvedev
94a2e7ab6c Trim instead of error 2021-09-24 14:07:48 +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
91fbb66b0f Use -af in copy_dirs 2021-09-24 10:45:28 +02:00
Anton Medvedev
ea65989760 Update check_remote.php 2021-09-24 00:17:11 +02:00
Anton Medvedev
64106049e5 Move option target to common.php 2021-09-24 00:11:45 +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
Goran Jurić
6b2a81950f
Use cp instead of rsync to copy directories (#2659)
* Use cp instead of rsync to copy directories

Since rsync is not installed on every host it's better to use standard tools.
Previosly rsync was introduced ( #1072 ) to enable copying of subdirectories, but
this is doable with cp as well.

* Throw an exception if copy_dirs entries end with a slash

* Fix to strip last directory name from the destination folder

* Update CHANGELOG.md

Co-authored-by: Anton Medvedev <anton@medv.io>
2021-09-23 19:03:17 +02:00
Sander Toonen
1c8e23f00a
Use build in php-function to detect scheme, hostname and port in repo url (#2668)
* Use PHP biuld in funtion to detect scheme, hostname and port in repo url. refs #2667

* Updated changelog

* Add missing reference to changelog

* Unrelated issue, in order to make phpstan happy.
2021-09-23 18:58:57 +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
bc4ed1a38a Move Cvs to utils 2021-09-18 15:25:48 +02:00
memen45
fd1be9baa6
Update writable.php (#2648)
Silence the errors from chgrp. Will not interrupt deploy process in case the group ownership is already correct, but user is different.
2021-09-11 17:40:01 +02:00
Anton Medvedev
463d95de78 Improve docgen 2021-08-31 20:15:06 +02:00
Alex Mayer
4bd32d8ead
Add Port When Running SSH Keyscan (#2551)
Fixes #2549

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de> (fixed conflicts, took to long to merge 🤷)
2021-08-20 11:17:01 +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
Marcel
f42e8faabd
Fix typo in comment (#2624)
The $bare variable points to ".dep/repo" and not ".git/repo"
2021-08-18 08:42:58 +02:00
David
d5b8ee78a6
use release_or_current_path instead of release_path for sw:plugin:upgrade:all in shopware recipe (#2610) 2021-07-27 12:09:26 +02:00
Fabian Blechschmidt
515eac3c0a
DRAFT: First activate plugins/themes THEN build them (#2607)
* First activate plugins/themes THEN build them

Currently the first step is to run bin/build.sh which builds all *ACTIVATED* themes. After this step we activate all composer-registered plugins (which in my case are all the themes) and THEN compile them. For new themes that means, that they are *NOT* build because they are activated AFTER building.

This PR fixes that and activated first and builds second.

* update changelog
2021-07-22 15:40:40 +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
Fabian Blechschmidt
784e7b7b31
Fixes #2574 (#2575) 2021-06-09 23:52:53 +03:00
Jeffrey Cafferata
a38a01615e
Update GIT remote origin (#2520)
Changed the way the GIT remote URL is fetched from the config.
2021-04-22 19:14:09 +02:00
Anton Medvedev
817a6b3cd8 Remove dump-env 2021-04-21 00:39:41 +02:00
Anton Medvedev
da8bb1adff Fix deploy:update_code
Now default target is HEAD, also better at switching repository url.
2021-04-18 13:54:31 +02:00
Anton Medvedev
c23688adcf Add default symfony_env 2021-04-17 15:41:12 +02:00
Victor Paumier
63a0e667b7
add deploy:dump-env & remove .env.local.php from shared_files (#2507) 2021-04-16 12:13:58 +03: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
memen45
85ba976307
Update magento2.php (#2452)
Fixes failed deploys when app/etc/config.php is changed with added sites, stores, store views or themes.

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
2021-04-11 16:49:46 +02:00
Loris Leiva
a313326911
Fix ACL error message (#2501)
* Fix ACL error message

* Update CHANGELOG.md
2021-04-11 16:45:55 +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