From 48d6b8aea99aead592164e6a3634b2d2031a5bcf Mon Sep 17 00:00:00 2001 From: Benjamin Calef Date: Fri, 1 Apr 2022 23:13:30 +0200 Subject: [PATCH] [v0.0.5] @deprecated on magento 2.4.4 --- README.md | 23 +++++++++++++++++++++++ composer.json | 7 ++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ba2590f..c181c08 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 handle Zero Downtime Deployment.
+To enable blue/green deployment you can add the config `deployment/blue_green/enabled` in your 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 not be 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": [