* Only set maintenance mode once if needed
Also:
- by adding magento:maintenance:enable-if-needed to the task list instead of invoking it directly, it is now possible to use after() to add custom tasks to be performed in maintenance mode
- the maintenance_mode_status_active check was removed because it is unnecessary and can return wrong results because of caching
* Update docs
* 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
* expands DocGen for artifact deployment and adds documentation to the magento2 recipe
* corrects missing capital and typo
---------
Co-authored-by: Anton Medvedev <anton@medv.io>
* 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>
* 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>
* Doc update about new default value of writable_recursive
* Adjusted wording
---------
Co-authored-by: HereticPilgrim <manuel.grauwiler@transformatik.ch>
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).
* 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
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.
* 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
* 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>