diff --git a/README.md b/README.md index ba2590f..4ca5f33 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,28 @@ # Zero Downtime Deployment # +## Magento 2.4.4 - @deprecated + +On version 2.4.4, Magento is able to handle blue/green deployment, making this module no more required.
+To enable blue/green deployment you can add the deployment config `deployment/blue_green/enabled` in file app/etc/env.php: +```php +'deployment' => [ + 'blue_green' => [ + 'enabled' => true + ] +] +``` + +magento/framework/Module/Plugin/DbStatusValidator.php +![image](https://user-images.githubusercontent.com/16258478/161338149-52febed8-d9b9-4e95-ba9d-60b999627aa5.png) +magento/module-deploy/Model/Plugin/ConfigChangeDetector.php +![image](https://user-images.githubusercontent.com/16258478/161338272-f72b6d73-3763-42d4-a684-1450a47290b8.png) + +Related commit is here: https://github.com/magento/magento2/commit/c241e11adf59baeca9d9e66cdbd726e4b0b88b21 + +⚠ Consequently, this module is now deprecated and will be not maintained anymore. + +## Purpose + Disable native change detection from Magento2 to allow Zero Downtime Deployment (ZDD). Normal behavior:
diff --git a/composer.json b/composer.json index 1936f31..df08e39 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,12 @@ { "name": "zepgram/module-zero-downtime-deployment", "description": "Disable native change detection from Magento2 to allow Zero Downtime Deployment (ZDD)", + "abandoned": true, "type": "magento2-module", - "version": "0.0.4", + "version": "0.0.5", "require": { - "magento/framework": "^102.0.0|^103.0.0", - "magento/module-deploy": "^100.2.0" + "magento/framework": "^0", + "magento/module-deploy": "^0" }, "autoload": { "files": [