586 Commits

Author SHA1 Message Date
Anton Medvedev
be4426e5e7 Add tasks desc 2021-10-11 22:06:35 +02:00
Anton Medvedev
8b703647f3 Rename task logs to logs:app 2021-10-11 22:06:22 +02:00
Anton Medvedev
0b9b525bdb Configure bin/php via php_version config 2021-10-11 22:05:45 +02:00
Anton Medvedev
9b01d7955c Fix typo 2021-10-11 22:04:08 +02:00
Anton Medvedev
b89cc1c58e Update shopware recipe 2021-10-09 18:11:44 +02:00
Anton Medvedev
127be410cb Move provision.php up one level 2021-10-09 17:54:16 +02:00
Anton Medvedev
c40a1bc428 Update comment 2021-10-09 17:52:01 +02:00
Anton Medvedev
c10dab53ad Upgrade always verbose 2021-10-08 17:45:13 +02:00
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