Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 3c281e9

Browse files
author
Steve Johnson
authored
Update Cloud patch instructions to mention automatic deployment (#587)
* Clarify that you're testing a patch locally, not deploying it * Fix formatting * Proofreading * Proofreading * Proofreading * Updated to reflect automatic patch deployment
1 parent 1162dbd commit 3c281e9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

guides/v2.0/cloud/howtos/patch-magento.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ There are two types of patches:
1818

1919
* [General patches](#cloud-patch-gen)
2020

21-
These patches are provided for all Magento Enterprise Cloud Edition customers in a GitHub repository that's referenced in your `composer.json`. To install general patches, use `composer update`, test your system, and push the patches to the remote server.
21+
These patches are provided for all Magento Enterprise Cloud Edition customers in a GitHub repository that's referenced in your `composer.json`. We apply these patches automatically during the build phase.
22+
23+
To install general patches, use `composer update`, test your system, and push the patches to the remote server.
2224

2325
* [Custom patches](#cloud-patch-custom)
2426

@@ -30,9 +32,8 @@ There are two types of patches:
3032
Always test a patch your local system, then your [integration environment]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int) system (that is, the remote Cloud server). Resolve any issues before you patch either [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod).
3133
</div>
3234

33-
3435
## Test general patches {#cloud-patch-gen}
35-
*General patches* are provided for all Magento Enterprise Cloud Edition customers in a repository referenced in your `composer.json`. To apply these patches, use `composer update`.
36+
*General patches* are provided for all Magento Enterprise Cloud Edition customers in a repository referenced in your `composer.json`. We apply patches automatically during the build phase when a patch is available. The procedure discussed in this section enables to you test a patch locally anytime you choose.
3637

3738
The procedure you use is slightly different, depending on the type of environment: [integration]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int), [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage), or [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod).
3839

@@ -79,7 +80,7 @@ After you've successfully tested a patch locally and on your integration environ
7980
2. Enter the following commands:
8081

8182
<Magento project root dir>/composer update
82-
2. Apply the patch:
83+
2. Apply the patch locally:
8384

8485
git apply vendor/magento/magento-cloud-configuration/patches/<patch file name>
8586
3. Clean the Magento cache:

0 commit comments

Comments
 (0)