2793 Commits

Author SHA1 Message Date
HereticPilgrim
4a4e69a8c5
Added support for ntfy.sh notifications, contrib/ntfy (#3522)
* Fixed typo

* Added support for ntfy.sh notifications, contrib/ntfy recipe

* Missing docs

---------

Co-authored-by: HereticPilgrim <manuel.grauwiler@transformatik.ch>
2023-03-02 08:51:01 +01:00
HereticPilgrim
a8fca445c3
Teams, Telegram, Slack contrib recipe no longer fails silently if no webhook is configured (#3523)
* MS teams contrib recipe no longer fails silently if no webhook is configured

* contrib/slack now throws a warning if no webhook is configured

* Telegram no longer fails silently if there is no token or chat id configured

* Fixed copy-paste error

---------

Co-authored-by: HereticPilgrim <manuel.grauwiler@transformatik.ch>
2023-03-02 08:49:57 +01:00
antonmedv
e88761e207 [automatic] Update docs with bin/docgen 2023-03-02 07:49:49 +00:00
Martijn Wagena
cd760c2bbe
Contrib supervisord monitor (#3486)
* added support for Supervisord Monitor with Basic auth mandatory

* updated logic to have one configurable setter

* updated setters to be more dynamic

* updated docs

* updating docs

* doc gen hell

* test

* updated docs

* updated getters

* updated the methods to be recipe specific

* cleanup and extra tasks

* null check

---------

Co-authored-by: Martijn Wagena <martijn@concept7.nl>
2023-03-02 08:49:27 +01:00
HereticPilgrim
ad242dc8d8
Doc update about new default value of writable_recursive (#3521)
* Doc update about new default value of writable_recursive

* Adjusted wording

---------

Co-authored-by: HereticPilgrim <manuel.grauwiler@transformatik.ch>
2023-03-01 21:29:45 +01:00
HereticPilgrim
e0b59ec668
Added a note about missing ssh-option. Fixes issue deployphp/deployer… (#3520)
* Added a note about missing ssh-option. Fixes issue deployphp/deployer#2908

* Slight wording update

---------

Co-authored-by: Manu <manuel.grauwiler@transformatik.ch>
2023-03-01 21:14:02 +01:00
Anton Medvedev
2ac3b89d97 Fix branch deploy for clone strategy 2023-03-01 21:12:14 +01:00
Dr. Ulrich Thomas Gabor
fa2ce9ac0f
Shopware Flex has no build.sh anymore (#3513)
The new [Shopware template](https://developer.shopware.com/docs/guides/installation/template) does not have a `bin/build.sh` file anymore. The missing executable executed `composer install` and `bin/build-js.sh`. Since requiring the new Symfony flex recipe requires running `composer` manually, we just execute `bin/build-js.sh` now.

This could be a breaking change for some users. Don't know if you want to state that somewhere or allow a way to restore the old behavior via flag (although one can just override the `sw-build-without-db:build` task anytime).
2023-02-25 17:29:04 +01:00
Daniel Hormess
aeec635a2d
Fixed bin/console calls in shopware recipe (#3512)
* Fixed bin/console calls in shopware recipe

* Added generated docs

---------

Co-authored-by: Daniel Hormess <daniel@proudcommerce.com>
2023-02-24 18:22:55 +01:00
akosglue
6190cbead3
fix typo in magento recipe (#3498) 2023-02-22 09:03:59 +01:00
Fabian Blechschmidt
75e5bc0cf1
Add PUT to Httpie.php (#3497)
* Update Httpie.php

Fixes #3496 - add PUT as static construct

* Update Httpie.php

Fix copy paste error on Httpie::delete()
2023-02-22 09:03:31 +01:00
Jan Henk Hazelaar
3953996a30
Add remote option to update_code_strategy to rename remote to repository (#3466)
* Add 'remote' option to 'update_code_strategy'

* Using archive and then add remote to speedup deployment

* Optimize remote option and add documentation

* Optimize code

* Update docs

* Combine clone and remote to remove duplicate code

* Removed  option and merge functionality into  option

* Generate docs

* Generate docs
2023-02-10 23:51:27 +01:00
blmage
ede6594c4c
Prevent type errors when supplied timeout options are not numeric (#3484) 2023-02-10 18:24:27 +01:00
Fabian Schmengler /
762a177ce1
Magento: allow subdirectory and create variable for bin/magento (#3460)
* Magento: create variable for bin/magento

so it can be overridden to a custom location

* Update docs

* Allow Magento to be installed in a subdirectory

* Update docs

* Use Magento subdirectory for composer command

* Fix bin/magento call in magento_version function

* Update docs

* Update docs

* Combine magento_dir and bin/magento configurations correctly
2023-02-09 14:17:39 +01:00
Joda Stößer
a49ca2ea8b
docs(github-action): improve & update (#3482)
* docs(github-action): update php to 8.1

* docs(github-actions): add composer install step
2023-02-06 23:54:03 +01:00
Joda Stößer
3cb4b1e340
docs(selector): correct env config option to array (#3481)
As the `env` config options is expected to be an array, not a string, the supplied example is throwing errors.
This syntax checking of the `env` variable seems to only happen in the YAML config syntax, not with the php config.
2023-02-06 20:34:12 +01:00
Fabian Blechschmidt
5c3d4a17fb
Fixes #3472 (#3473)
* Fixes #3472

Add DELETE

* Update Httpie.php

improve error message for empty url on HTTPie
2023-01-31 22:46:00 +01:00
Dominik Schilling
1fb2d6f3cd
Simplify loop in releases_list (#3471)
* Avoid calling count() in loop
* Remove extra variable for release name
* Reverse the array before for clarity
2023-01-30 21:19:57 +01:00
Fabian Schmengler /
8a94172fd5
Magento: Fix artifact_path generation (#3459)
* Magento: Fix artifact_path generation

- Fix 1. Add -p parameter to mkdir command
   {{artifact_path}} could be configured with multiple folders such as build/artifacts
- Fix 2. run() -> runLocally()
   The {{artifact_dir}} is used to keep artifacts archive file.
   It should be called at CI server only and not at target server.
   Then the task `artifact:upload` uploads this file at target server host under {{release_path}}.
   It is not needed to have {{artifact_dir}} at target server.

* Update docs
2023-01-30 21:15:09 +01:00
guvra
30c66cee47
Add an option to build magento artifact from the repository (#3456) 2023-01-30 21:14:51 +01:00
Fabian Schmengler /
1bc90e8442
Update default cachetool version to 9.0.0 (PHP 8.1 compatible) (#3462)
* Update default cachetool version to 9.0.0 (PHP 8.1 compatible)

* Update docs
2023-01-26 15:03:24 +01:00
Daniel
65dc1413d3
Update UPGRADE.md (#3458) 2023-01-24 21:47:54 +01:00
Stephen Ostrow
6b354c2e89
update writable deploy recipe to use release_or_current_path (#3449)
Updating this task to use release_or_current_path (from #2486)  will allow the writable task to be used outside of deployment
v7.1.2
2023-01-16 11:04:32 +01:00
Anton Medvedev
a60fd54e8e Fix PostgreSQL provisioning 2023-01-15 18:39:43 +01:00
Anton Medvedev
3d68ee55c7 Fix PostgresDB user creation 2023-01-15 17:35:05 +01:00
alexgit2k
a14383ba59
Show failed tasks for CI-environments (#3446)
* Call endTask on errors

* Handle errors at endTask
2023-01-13 11:55:07 +01:00
Benoît Chantre
91c72607f6
Fix NodeJS 12 warning: update EndBug/add-and-commit action (#3442) 2023-01-12 23:05:07 +01:00
Benoît Chantre
183d026612
Replace unmaintained satackey/push-prebuilt-action by a maintained fork (#3437) 2023-01-11 23:22:01 +01:00
Benoît Chantre
1a4d417f87
Fix Node.js 12 actions are deprecated (#3435) 2023-01-11 22:09:32 +01:00
Benoît Chantre
1b11e19a7c
Fix set-output command is deprecated and will be disabled soon (#3436) 2023-01-11 22:09:08 +01:00
Anton Medvedev
f6e6dbde48 Add "new version" banners on release 2023-01-10 14:43:43 +01:00
Anton Medvedev
a809e82459 Revert "Fixes #3365 (#3400)"
This reverts commit 37142c6d6169f95bc1b3e3dba28b180e78576f8f.
2023-01-09 11:11:55 +01:00
Fran Moreno
4370751c43
Make Deployer work with PHP 8.2 (#3422)
* Make Deployer 7.0.2 work with PHP 8.2

Closes #3399

* Pin symfony/console to minimum version 5.4.9

* Update lock file

* Add a job to test with PHP 8.2

* Bump phpspec/prophecy

Co-authored-by: Stefano Kowalke <info@arroba-it.de>
2023-01-09 10:25:55 +01:00
Anton Medvedev
33e58faba2 Update symfony/console to ^5.4.9 2023-01-09 10:16:18 +01:00
Anton Medvedev
439669f4aa Update symfony/console to ^5.4.9 2023-01-09 10:04:17 +01:00
Anton Medvedev
cc40df0348 Test on php 8.2 as well 2023-01-09 10:02:08 +01:00
Anton Medvedev
3304d6f977 Revert "Composer update"
This reverts commit 82f500e950eb99cf4640cccfdb86c6035919d5c5.
2023-01-09 09:57:08 +01:00
Anton Medvedev
82f500e950 Composer update 2023-01-08 22:26:53 +01:00
antonmedv
61378a3828 [automatic] Update docs with bin/docgen 2023-01-08 20:46:33 +00:00
Wilfried Wolf
2078514738
Feature/magento2 artifact deployment (#3317)
* adds sticky to writable recipe

chgrp for all files, chmod g+rwxs for directories, chmod g+rw for files

* adds artifact deployment for magento2 recipe

* Updates Documentation

* removes mode that has been submitted in other MR

* adds divers discussion results from PR #3317

- uses contrib/cachetool
- removes task build:prepare-env
- comments additional_shared_files and additonal_shared_dirs
- avoids invoke()

* updates docs

* corrects additional shared

Co-authored-by: Anton Medvedev <anton@medv.io>
2023-01-08 21:46:15 +01:00
Torben Höhn
492cd97945
add pub/static/_cache as shared_dir (#3343) 2023-01-08 21:35:48 +01:00
robertsimionescu
dfd89e254f
moved newrelic endpoint to config and used it when posting to api (#3374)
* moved newrelic endpoint to config and used it when posting to api

* ran bin/docgen for the commit

* mentioned the new setting for documentation

Co-authored-by: RobertOS <robert.simionescu@gmail.com>
2023-01-08 21:34:11 +01:00
Fabian Schmengler /
8888e5be86
Use include path when importing YAML files (#3377) 2023-01-08 21:32:35 +01:00
antonmedv
cc7d41bb55 [automatic] Update docs with bin/docgen 2023-01-07 22:43:38 +00:00
Vladimir Varlamov
881f853a07
Laravel recipe: Add horizon publish command (#3425)
One of base command to publish your application with Horizon
```
$ php artisan horizon:publish
Copied Directory [/vendor/laravel/horizon/public] To [/public/vendor/horizon]
Publishing complete.
```
2023-01-07 23:43:14 +01:00
Stephen Moon
1f5cfb25c2
Documentation edits (#3417)
* Add "a" to sentence
* Altered sentence structure
* Altered paragraph slightly
* Joined sentences in paragraph
* Added few words to paragraph
* Remove brackets. Make a new sentence
* Alter sentence
* Add "the"
2022-12-30 18:15:37 +01:00
antonmedv
1da73c2836 [automatic] Update docs with bin/docgen 2022-12-15 15:59:48 +00:00
Giorgio Pogliani
e3262b3114
Add CraftCMS recipe (#3405)
* Create craftcms.php

* Update descriptions
2022-12-15 16:59:25 +01:00
AbhishekKr
b0207b2266
Add Cloudflare API Token support for auth, domain optional if zone_id provided (#3406)
Signed-off-by: AbhishekKr <abhikumar163@gmail.com>

Signed-off-by: AbhishekKr <abhikumar163@gmail.com>
2022-12-15 16:58:20 +01:00
Thomas Navarro
60e5e35a44
Adding --yes flag to Caddy gpg command (#3407)
Adding --yes flag to Caddy gpg command
2022-12-15 16:06:57 +01:00