2332 Commits

Author SHA1 Message Date
Anton Medvedev
b2e9ca9422 Add php requirement to composer.json 2021-09-24 00:07:16 +02:00
Anton Medvedev
97b4b24ee6 Add parse_home_dir to identity_file 2021-09-23 23:56:20 +02:00
bilogic
a7ef491f9c
docs making clear there are 2 different rsync (#2601)
Co-authored-by: bilogic <atlassian@wealthmultiply.com>
2021-09-23 19:11:21 +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
John F
1537a766fa
patch-docgen (#2637)
- Fix cloudflare response handling
- Add optional Zone ID variable + update readme
2021-09-23 19:04:57 +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
bd4aedd965 Refactor SSh\Client to not use fromShellCommandline 2021-09-19 17:54:43 +02:00
Anton Medvedev
f3152a5264 Fix worker process creation 2021-09-19 17:34:37 +02:00
Anton Medvedev
5a58ad0145 Back to master 2021-09-18 14:40:05 +00:00
Anton Medvedev
23be6f30bd Release 7.0.0-beta.25 v7.0.0-beta.25 2021-09-18 14:40:05 +00:00
Anton Medvedev
5de0b05ed4 Fix phar's crc32 problem 2021-09-18 16:38:36 +02:00
Anton Medvedev
1303ec7dba Update LICENSE 2021-09-18 15:27:40 +02:00
Anton Medvedev
bc4ed1a38a Move Cvs to utils 2021-09-18 15:25:48 +02:00
Eric San
711db81d3f
Fix a little typo and improve a little clarity. (#2649)
Fix a typo.

Added "~/" to be clear that this is in user's "Home" directory.

Added `~/.zshrc` as some user uses ZSH terminal.
2021-09-14 21:13:21 +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
kjkooistra-youwe
851ce772a0
Allow overriding deployer root directory globally (#2644)
Use an environment variable or setting to override the default deployer root
directory used for the runLocally() default cwd configuration.
Resolves #2628
2021-09-07 10:03:01 +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
Anton Medvedev
983e0b31ec
Create tasks.md 2021-08-29 18:56:53 +02:00
Anton Medvedev
12e6fcf6ef
Create yaml.md 2021-08-29 18:56:26 +02:00
Dominik
d8212f7b2e
add webpack-encore recipe (#2629)
* add webpack-encore recipe

* add changelog

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
2021-08-23 18:26:48 +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
Sébastien Hordeaux
fca2eb4324
added error checking on Slack response (#2605) 2021-07-23 15:19:29 +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
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
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
14ee09139f Back to master 2021-07-01 20:18:55 +00:00
Anton Medvedev
7d72d6a64f Release 7.0.0-beta.24 v7.0.0-beta.24 2021-07-01 20:18:55 +00:00
Anton Medvedev
2d9a9dcfaa
Remove vars (#2596) 2021-07-01 23:17:23 +03:00
Markus Staab
2a5d5c2032
Support passing null as default in get() (#2560)
* Support passing `null` as $default in get()

* Update CHANGELOG.md

Co-authored-by: Markus Staab <m.staab@complex-it.de>
2021-06-17 07:30:44 +03:00
Fabian Blechschmidt
784e7b7b31
Fixes #2574 (#2575) 2021-06-09 23:52:53 +03:00
Vladimir
8b3d7f726c
add .gitattributes - exclude tests, docs from archives (#2553) 2021-05-27 09:08:30 +02:00
Sacharski Bartłomiej
d3b6eaf9fe
Added support for code coverage in E2E tests (#2533)
The E2E docker-compose stack has been modified to include code
coverage for all scripts that are kept in /project and are not
in the exclusion list.

The start command for `deployer` container has been replaced
with a `start-e2e-test.sh` script, which will execute E2E tests,
generate a Clover report and then return the exit code of E2E test
process to make sure that CI is aware of the test result.

Whole idea for collecting E2E coverage has been inspired by the
[this][1] article. All of scripts in `deployer` container will
now start with additional wrapper-like PHP code, which checks
if the `PHP_CCOV_START_FILE` variable is present. If not,
then nothing happens, but if the variable points to a PHP file,
then that file is being included.

The `docker-compose.yml` file has `PHP_CCOV_START_FILE` configured
to point to a file, which sets up code coverage, that starts counting
which instructions in `/project` directory have been called. Once
`php` interpreter starts shutting down, the coverage report is being
dumped into temporary files.

Once all tests have been processed, a script for merging partial
coverage reports is executed and finally a Clover code coverage file
is stored in the path defined in the `PHP_CCOV_OUTPUT_FILE` env var.

[1]: https://tarunlalwani.com/post/php-code-coverage-web-selenium/
2021-05-02 15:15:19 +02:00
Fabian Blechschmidt
f77186eb7b
Fixes #2525 (#2526) 2021-04-27 07:18:37 +02: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
88f6e42368 Back to master 2021-04-20 22:42:13 +00:00
Anton Medvedev
b5c526aca3 Release 7.0.0-beta.23 v7.0.0-beta.23 2021-04-20 22:42:13 +00:00
Anton Medvedev
817a6b3cd8 Remove dump-env 2021-04-21 00:39:41 +02:00
Loris Leiva
7fed20a098
Fix contains multiple commands regex (#2518) 2021-04-19 18:40:26 +02:00
Anton Medvedev
05b82ece80 Update getting-started.md 2021-04-18 22:01:23 +02:00